Fix: API Key validation from database, Python 3.12 compatibility, persistent volumes

This commit is contained in:
Dominic Ballenthin
2026-01-29 01:25:11 +01:00
parent 008ef63bfd
commit c5ecd2ee76
5 changed files with 76 additions and 24 deletions

View File

@@ -19,11 +19,11 @@ services:
- ADMIN_USER=${ADMIN_USER:-admin}
- ADMIN_PASSWORD=${ADMIN_PASSWORD:--whisper12510-}
- LOG_RETENTION_DAYS=${LOG_RETENTION_DAYS:-30}
- DATABASE_URL=sqlite:///app/data/whisper_api.db
- DATABASE_URL=sqlite:////app/data/whisper_api.db
volumes:
- ./models:/app/models
- ./data:/app/data
- ./uploads:/app/uploads
- whisper_models:/app/models
- whisper_data:/app/data
- whisper_uploads:/app/uploads
deploy:
resources:
reservations:
@@ -37,3 +37,8 @@ services:
timeout: 10s
retries: 3
start_period: 60s
volumes:
whisper_models:
whisper_data:
whisper_uploads: