Skip to content
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

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

frederik-elwert
Copy link
Contributor

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.

frederik-elwert and others added 4 commits September 24, 2021 16:24
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`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants