minicomp / wax

Jekyll based framework for minimal exhibitions with IIIF 🐝
https://minicomp.github.io/wax/
MIT License
158 stars 84 forks source link

Add compose.yaml for using docker-compose. #137

Open frederik-elwert opened 2 years ago

frederik-elwert commented 2 years ago

This allows the standard commands to be used with docker by simply replacing bundle exec with docker-compose run --rm. The jekyll test server can be started with docker-compose up jekyll.

To avoid rights issues with root-generated files from docker, this also sets the user to 1000, which is usually the standard user. This has to be changed if run as another user. Correct values can be determined with id -u and id -g.