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:
|
services:
|
||||||
site:
|
site:
|
||||||
image: hugomods/hugo:nginx-1.27.4
|
image: git.coopcloud.tech/wiki-cafe/wiki-cafe-site:latest
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
volumes:
|
healthcheck:
|
||||||
- public:/site
|
test: ["CMD", "curl", "-f", "http://localhost"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 10
|
||||||
|
start_period: 15s
|
||||||
deploy:
|
deploy:
|
||||||
update_config:
|
update_config:
|
||||||
failure_action: rollback
|
failure_action: rollback
|
||||||
@ -22,6 +26,3 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
volumes:
|
|
||||||
public:
|
|
@ -1,8 +1,10 @@
|
|||||||
services:
|
services:
|
||||||
site:
|
site:
|
||||||
image: git.coopcloud.tech/wiki-cafe/wiki-cafe-site:latest
|
image: hugomods/hugo:nginx-1.27.4
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
volumes:
|
||||||
|
- public:/site
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost"]
|
test: ["CMD", "curl", "-f", "http://localhost"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
@ -26,3 +28,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
public:
|
Loading…
x
Reference in New Issue
Block a user