Closed Stoiker closed 3 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:
./_docker_projects
, so that one can view/edit files from the filesystem directly. Make sure to gitignore and dockerignore the folder.docker-compose.override.yml
- ALLOW_IP_RANGE=0.0.0.0/0
package.json
and package-lock.json
, and only add the whole source after npm install, so that you avoid redownloading/reinstalling all dependencies for changes unless they affect dependenciesCheers
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:
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.