"Refactor database connection and settings for improved performance (feat)"

This commit is contained in:
2025-05-26 10:07:37 +02:00
parent 9efe122e14
commit e747ac945c
4 changed files with 55 additions and 18 deletions

View File

@ -23,8 +23,9 @@ services:
- FLASK_ENV=production
- SSL_ENABLED=true
- SSL_HOSTNAME=raspberrypi
command: python -m app.app --dual-protocol
healthcheck:
test: ["CMD", "curl", "-k", "https://localhost:443/health"]
test: ["CMD", "curl", "-k", "https://localhost:443/health || curl http://localhost:80/health"]
interval: 30s
timeout: 10s
retries: 3