Trying to get the volume work in prod
This commit is contained in:
parent
b87d648a7d
commit
188b461c58
@ -3,13 +3,20 @@ version: "3.7"
|
||||
|
||||
services:
|
||||
jekyll:
|
||||
command: |
|
||||
jekyll serve --watch --verbose --config /srv/jekyll/_config_prod.yml --trace
|
||||
command: >
|
||||
jekyll serve \
|
||||
--verbose \
|
||||
--config _config_prod.yml \
|
||||
--trace
|
||||
configs:
|
||||
- source: config-yml-prod-v1
|
||||
target: /srv/jekyll/_config_prod.yml
|
||||
networks:
|
||||
- proxy
|
||||
volumes:
|
||||
- type: bind
|
||||
source: ./
|
||||
target: /srv/jekyll
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
|
Reference in New Issue
Block a user