-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create Docker for Tilemill releases #2742
Comments
Working on this. Once I have something actually usable, I'll come back here and figure out what the best way to contribute it will be. |
I should probably point out that whilst I was aiming to make it reusable, it was really just a personal project so will likely need some one to fork it to make it a little more polished for sharing around =D |
@apbarratt This will be great. I have some co-workers that are big Docker users, so I'm sure I can get one of them to help "productionize" anything you create. |
Have we a discord server anywhere for when I have quicky questions to ask? :) |
We don't. I've thought about setting up a Slack instance. I'd prefer Slack over discord. Would that work? |
@apbarratt Take a look at #2736, the Dockerfile may have already been created by someone. |
Oh yes, there's a few of them around. But I'm wanting something a little friendlier. Something that'll just host the lot of port 80 and have the database and OSM-bright etc already there, ready to go. |
Here's the basic tilemill anyway. All runs using port 80, so once it's running, you can just have it loaded up by going to localhost in your browser. |
Thanks @apbarratt for your work! I am currently trying to reduce the overall image size and to create a version that will also work with podman. As one migh have guessed, the change to alpine is not straightforward and maybe someone can help me out here. Out of the box, one runs into linker issues:
which can/should be solved when building gdal explicitly with shared libs Which would install the most up to date version and that relies on node v 10++
Since I am lacking experience with the whole node dependency stack, can someone point me into the right direction? |
@csytsma Regarding your question about Slack from 15 June. That would be helpful at least for me |
Just to let you know, I dumped the alpine approach and settled for a two stage build with node and node-slim images. Also, could someone verify if this setup is working for them as well? |
I set up and tested this on Ubuntu 20.04. No VM. Did as suggested in README:
No issues. Runs great. Connections to my PostgreSQL databases work as expected. Great job |
@xycarto great! Thx for testing! |
Tested on Mac apple silicon. It shows error when running docker-compose |
Hi @SaidAlSouti thx for your comment. Sadly, I don't own an apple silicon based device, hence I can not verify this issue. |
PR #2758 was created to fix Apple M1 issue, hoping someone on this thread can test and verify the fix. |
Goal: Create a Docker image for Tilemill that works for Ubuntu, MacOS and Windows. This will help with new users to be able to easily setup and start using Tilemill.
Do we have any takers that can help create the Docker image, and add it to the repo?
The text was updated successfully, but these errors were encountered: