Browse Source

:pencil: Updates compose file to be easier to work with

Jeff Triplett 3 years ago
parent
commit
e6c5a4f239
1 changed files with 13 additions and 2 deletions
  1. 13 2
      docker-compose.yml

+ 13 - 2
docker-compose.yml

@@ -1,11 +1,22 @@
 version: "3"
 
 services:
+
+  devd:
+    image: ghcr.io/jefftriplett/devd:latest
+    command: --livewatch
+    ports:
+      - 8000:8000
+    volumes:
+      - .:/srv/jekyll
+      # - ./_site:/static
+
   jekyll:
     image: jekyll/jekyll:latest
-    command: jekyll serve --drafts --force_polling --watch --port 8000
+    command: jekyll serve --drafts --force_polling --watch --port 4000
+    expose: [4000]
     ports:
-      - 8000:8000
+      - 4000:4000
     volumes:
       - ./.vendor/bundle:/usr/local/bundle:cached
       - .:/srv/jekyll:cached