From e6c5a4f239b84ca05bf1b3680c3ab4e117b4ddd2 Mon Sep 17 00:00:00 2001 From: Jeff Triplett Date: Mon, 24 Jan 2022 09:58:21 -0600 Subject: [PATCH] :pencil: Updates compose file to be easier to work with --- docker-compose.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index e6e47aa..10d5a25 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,11 +1,22 @@ version: "3" services: - jekyll: - image: jekyll/jekyll:latest - command: jekyll serve --drafts --force_polling --watch --port 8000 + + 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 4000 + expose: [4000] + ports: + - 4000:4000 volumes: - ./.vendor/bundle:/usr/local/bundle:cached - .:/srv/jekyll:cached