Skip to content

Fix site URL in links when running locally with docker compose or DevContainer #3029

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

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ RUN gem install bundler:2.3.26
RUN bundle install

# Command to serve the Jekyll site
CMD ["jekyll", "serve", "-H", "0.0.0.0", "-w", "--config", "_config.yml,_config_docker.yml"]
CMD ["jekyll", "serve", "-H", "0.0.0.0", "-w"]

1 change: 0 additions & 1 deletion _config_docker.yml

This file was deleted.

3 changes: 1 addition & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ services:
volumes: [ .:/usr/src/app ]
ports: [ 4000:4000 ]
user: 1000:1000
environment: [ JEKYLL_ENV=docker ]
command: jekyll serve -H 0.0.0.0 -w --config _config.yml, _config_docker.yml
command: jekyll serve -H 0.0.0.0 -w