chore: added Docker compose auto-restart

This commit is contained in:
Ward Truyen 2024-09-23 17:05:25 +02:00
parent c577d97164
commit b7cc7f6fa2
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
services: services:
sitewillem: sitewillem:
build: . build: .
container_name: willem-web
restart: always
labels: labels:
- "traefik.http.routers.sitewillem.rule=Host(`willem.truyen.network`) && PathPrefix(`/`)" - "traefik.http.routers.sitewillem.rule=Host(`willem.truyen.network`) && PathPrefix(`/`)"
- "traefik.http.routers.sitewillem.entrypoints=websecure" - "traefik.http.routers.sitewillem.entrypoints=websecure"