chore: simplify docker-only deployment workflow

This commit is contained in:
2026-03-03 08:43:30 +00:00
parent 2b9476290f
commit e888772488
9 changed files with 214 additions and 13 deletions

View File

@@ -1,3 +1,10 @@
networks:
internal:
external: false
proxy:
name: proxy
external: true
services:
pdf-to-ics-web:
build: .
@@ -5,8 +12,17 @@ services:
restart: unless-stopped
ports:
- "8000:8000"
networks:
- internal
- proxy
environment:
- TZ=Europe/Berlin
# Optional aktivieren für App-Login:
# - WEB_AUTH_USER=kalender
# - WEB_AUTH_PASSWORD=BitteSicheresPasswortSetzen
- WEB_AUTH_USER=dbregio
- WEB_AUTH_PASSWORD=dbregio
healthcheck:
test: ["CMD", "python3", "-c", "import http.client,sys;c=http.client.HTTPConnection('127.0.0.1',8000,timeout=5);c.request('GET','/');r=c.getresponse();sys.exit(0 if r.status in (200,401) else 1)"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s