This commit is contained in:
2025-10-15 23:33:08 +02:00
parent 7f58f12b8d
commit c1e14fa2d6
3 changed files with 14 additions and 11 deletions

View File

@@ -20,11 +20,11 @@ services:
CADDY_INGRESS_NETWORKS: ${COMPOSE_PROJECT_NAME}_caddy_net
volumes:
- caddy_config:/config
- caddy_data:/data
- ./caddy:/data
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./data:/srv/www:ro
labels:
caddy: "static.localhost"
caddy: "localhost"
caddy.root: "* /srv/www"
caddy.file_server: "" # Active le serveur de fichiers statiques
caddy.tls: internal # HTTPS auto-signé géré par Caddy