From c497661beb26ee98c33a8b5ea699327fd3f3372a Mon Sep 17 00:00:00 2001 From: Jeff Triplett Date: Sat, 10 Sep 2022 19:47:07 -0500 Subject: [PATCH] :gear: :whale: Updates Gemfile and docker setup --- Gemfile | 10 ++-------- docker-compose.yml | 10 +++++++--- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/Gemfile b/Gemfile index 3098d62..af00005 100644 --- a/Gemfile +++ b/Gemfile @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index 10d5a25..f0a495f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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