fix: [30388f42] Nutze Verzeichnis-Mounts für Datenbanken (Robustheit)
- Stellt die Docker-Konfiguration von Einzeldatei-Mounts auf Verzeichnis-Mounts (./data:/data) um. - Dies behebt das Problem der verschwundenen oder asynchronen Datenbanken auf Synology/Docker-Umgebungen. - Gewährleistet, dass Host-Skripte und Container-Prozesse garantiert auf dieselbe physische Datenbankdatei zugreifen.
This commit is contained in:
@@ -53,7 +53,7 @@ services:
|
|||||||
PYTHONUNBUFFERED: "1"
|
PYTHONUNBUFFERED: "1"
|
||||||
volumes:
|
volumes:
|
||||||
- ./company-explorer:/app
|
- ./company-explorer:/app
|
||||||
- ./data/companies_v3_fixed_2.db:/data/companies_v3_fixed_2.db
|
- ./data:/data
|
||||||
- ./Log_from_docker:/app/logs_debug
|
- ./Log_from_docker:/app/logs_debug
|
||||||
|
|
||||||
connector-superoffice:
|
connector-superoffice:
|
||||||
@@ -68,7 +68,7 @@ services:
|
|||||||
- .env
|
- .env
|
||||||
volumes:
|
volumes:
|
||||||
- ./connector-superoffice:/app
|
- ./connector-superoffice:/app
|
||||||
- ./data/connector_queue.db:/data/connector_queue.db
|
- ./data:/data
|
||||||
environment:
|
environment:
|
||||||
PYTHONUNBUFFERED: "1"
|
PYTHONUNBUFFERED: "1"
|
||||||
API_USER: "admin"
|
API_USER: "admin"
|
||||||
|
|||||||
Reference in New Issue
Block a user