This commit is contained in:
2026-02-08 17:31:32 +01:00
parent 5f4ef6faee
commit ae099f04cf
5 changed files with 83 additions and 17 deletions

View File

@@ -18,7 +18,7 @@ services:
- PORT=8000
- DATABASE_PATH=/app/data/parking.db
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"]
test: [ "CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')" ]
interval: 30s
timeout: 10s
retries: 3
@@ -31,8 +31,8 @@ services:
- "caddy.forward_auth=authelia:9091"
- "caddy.forward_auth.uri=/api/verify?rd=https://parking.lvh.me/"
- "caddy.forward_auth.copy_headers=Remote-User Remote-Groups Remote-Name Remote-Email"
# cambiare l'url delle label per il reverse proxy
networks:
org-network:
external: true
external: true