⚙️ 🐳 Updates Gemfile and docker setup

This commit is contained in:
Jeff Triplett 2022-09-10 19:47:07 -05:00
parent b938e0e7dc
commit c497661beb
No known key found for this signature in database
GPG Key ID: BD6DAFC4D1A381EA
2 changed files with 9 additions and 11 deletions

10
Gemfile
View File

@ -1,11 +1,5 @@
source "https://rubygems.org" source "https://rubygems.org"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and gem "webrick"
# uncomment the line below. To upgrade, run `bundle update github-pages`.
gem "github-pages", group: :jekyll_plugins
# If you have any plugins, put them here! gem "github-pages", group: :jekyll_plugins
group :jekyll_plugins do
gem "jekyll-feed"
gem "jekyll-optional-front-matter"
end

View File

@ -5,18 +5,22 @@ services:
devd: devd:
image: ghcr.io/jefftriplett/devd:latest image: ghcr.io/jefftriplett/devd:latest
command: --livewatch command: --livewatch
expose:
- 8000
ports: ports:
- 8000:8000 - 8000:8000
volumes: volumes:
- .:/srv/jekyll - .:/srv/jekyll
# - ./_site:/static
jekyll: jekyll:
image: jekyll/jekyll:latest image: jekyll/jekyll:latest
command: jekyll serve --drafts --force_polling --watch --port 4000 command: jekyll serve --drafts --force_polling --watch --port 4000
expose: [4000] environment:
- BUNDLE_PATH=/usr/local/bundle
expose:
- 4000
ports: ports:
- 4000:4000 - 4000:4000
volumes: volumes:
- ./.vendor/bundle:/usr/local/bundle:cached
- .:/srv/jekyll:cached - .:/srv/jekyll:cached
- ./.vendor/bundle:/usr/local/bundle:cached