tilemill-project / tilemill

TileMill is a modern map design studio
https://tilemill-project.github.io/tilemill/
BSD 3-Clause "New" or "Revised" License
3.1k stars 527 forks source link

Created Docker support with postgis instance #2748

Closed Stoiker closed 2 years ago

Stoiker commented 2 years ago

Adapted README.md to indicate the new Docker support

Dockerbuild uses a two-stage build to keep a low memory footprint for the final container. Actual data is stored in docker volumes, that way one can avoid trouble with SELinux and permissions. No proxy is used to keep it simple.

Works on my system with podman as well.

olivierdalang commented 2 years ago

Thanks for that !! Just tested, it seems to work great out of the box (after some very simple testing, I'm completely new to Timemill and was just looking for a way to easily test it, so take the following comments with a grain of salt)

Here are some ideas/comments/questions:

Cheers

Stoiker commented 2 years ago

Hi @olivierdalang! Thx for testing and your input. Some general remarks: Personally I am using Fedora with SELinux enabled and podman. Hence, port 80 is a no-go per default and direct mounting of folders is troublesome (but solvable via :Z) To keep things simple and make it work out of the box for non-daily docker users I decided to stick with the default tilemill ports and docker-volumes (Also I assume that users that want to use this in actual production are far more capable than me in hosting stuff and adjust it accordingly)

Regarding your questions: