fix(docker): switch to named volume for data persistence

This commit is contained in:
Michael committed 2026-02-21 13:22:28 +01:00
1 parent 0e0d999027
commit 69e7db4a9d
1 file changed
+5 -1
+5 -1
View File
@@ -14,11 +14,15 @@ services:
- DATABASE_URL=postgres://postgres:MOT_DE_PASSE_ICI@postgresbase:5432/collectflow
# Mais comme CollectFlow permet de le configurer depuis l'interface (settings), ce n'est pas strictement obligatoire au lancement.
volumes:
- ./data:/app/data
- collectflow-data:/app/data
restart: unless-stopped
networks:
- nginx_default
volumes:
collectflow-data:
name: collectflow-data
networks:
nginx_default:
external: true