Update Docker Compose configuration: change site image to hugomods/hugo:nginx-1.27.4 and add volume mapping
This commit is contained in:
parent
3ca4762296
commit
676a22b9af
@ -1,10 +1,14 @@
|
||||
services:
|
||||
site:
|
||||
image: hugomods/hugo:nginx-1.27.4
|
||||
image: git.coopcloud.tech/wiki-cafe/wiki-cafe-site:latest
|
||||
networks:
|
||||
- proxy
|
||||
volumes:
|
||||
- public:/site
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost"]
|
||||
interval: 10s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
start_period: 15s
|
||||
deploy:
|
||||
update_config:
|
||||
failure_action: rollback
|
||||
@ -21,7 +25,4 @@ services:
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
public:
|
||||
external: true
|
@ -1,8 +1,10 @@
|
||||
services:
|
||||
site:
|
||||
image: git.coopcloud.tech/wiki-cafe/wiki-cafe-site:latest
|
||||
image: hugomods/hugo:nginx-1.27.4
|
||||
networks:
|
||||
- proxy
|
||||
volumes:
|
||||
- public:/site
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost"]
|
||||
interval: 10s
|
||||
@ -25,4 +27,7 @@ services:
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
public:
|
Loading…
x
Reference in New Issue
Block a user