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
Andre 2025-04-19 14:56:14 +02:00
parent ce254e4e47
commit 87a1c9b76a
1 changed files with 2 additions and 0 deletions

View File

@ -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