Restart-Anweisung in beide Container aufgenommen
Die Container werden nach einem Tag beendet, daher wurde hier eine Restart-Anweisung aufgenommen, damit sie danach wieder gestartet werden.main
parent
ce254e4e47
commit
87a1c9b76a
|
|
@ -3,6 +3,7 @@ version: '3.8'
|
||||||
services:
|
services:
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx:latest
|
image: nginx:latest
|
||||||
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- static-files:/usr/share/nginx/html
|
- static-files:/usr/share/nginx/html
|
||||||
networks:
|
networks:
|
||||||
|
|
@ -12,6 +13,7 @@ services:
|
||||||
build:
|
build:
|
||||||
context: ./webhooks-git
|
context: ./webhooks-git
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- static-files:/html
|
- static-files:/html
|
||||||
- ${WEBHOOK_GIT_DATA_PATH}:/data
|
- ${WEBHOOK_GIT_DATA_PATH}:/data
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue