⚙️ 🐳 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"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
gem "github-pages", group: :jekyll_plugins
gem "webrick"
# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-feed"
gem "jekyll-optional-front-matter"
end
gem "github-pages", group: :jekyll_plugins

View File

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