Explorar o código

:gear: :whale: Updates Gemfile and docker setup

Jeff Triplett %!s(int64=2) %!d(string=hai) anos
pai
achega
c497661beb
Modificáronse 2 ficheiros con 9 adicións e 11 borrados
  1. 2 8
      Gemfile
  2. 7 3
      docker-compose.yml

+ 2 - 8
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

+ 7 - 3
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