mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-11 17:26:32 +02:00
fix(docker): switch to named volume for data persistence
This commit is contained in:
1 parent
0e0d999027
commit
69e7db4a9d
1 file changed
+5
-1
+5
-1
@@ -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
|
||||
Reference in new issue
Block a user