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:
|
services:
|
||||||
jekyll:
|
jekyll:
|
||||||
command: |
|
command: >
|
||||||
jekyll serve --watch --verbose --config /srv/jekyll/_config_prod.yml --trace
|
jekyll serve \
|
||||||
|
--verbose \
|
||||||
|
--config _config_prod.yml \
|
||||||
|
--trace
|
||||||
configs:
|
configs:
|
||||||
- source: config-yml-prod-v1
|
- source: config-yml-prod-v1
|
||||||
target: /srv/jekyll/_config_prod.yml
|
target: /srv/jekyll/_config_prod.yml
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
volumes:
|
||||||
|
- type: bind
|
||||||
|
source: ./
|
||||||
|
target: /srv/jekyll
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
Reference in New Issue
Block a user