📝 Updates compose file to be easier to work with

This commit is contained in:
Jeff Triplett 2022-01-24 09:58:21 -06:00
parent 75a3852c77
commit e6c5a4f239
No known key found for this signature in database
GPG Key ID: BD6DAFC4D1A381EA

View File

@ -1,11 +1,22 @@
version: "3" version: "3"
services: services:
jekyll:
image: jekyll/jekyll:latest devd:
command: jekyll serve --drafts --force_polling --watch --port 8000 image: ghcr.io/jefftriplett/devd:latest
command: --livewatch
ports: ports:
- 8000:8000 - 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: volumes:
- ./.vendor/bundle:/usr/local/bundle:cached - ./.vendor/bundle:/usr/local/bundle:cached
- .:/srv/jekyll:cached - .:/srv/jekyll:cached