mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-20 21:48:33 +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
|
- 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.
|
# Mais comme CollectFlow permet de le configurer depuis l'interface (settings), ce n'est pas strictement obligatoire au lancement.
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/app/data
|
- collectflow-data:/app/data
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- nginx_default
|
- nginx_default
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
collectflow-data:
|
||||||
|
name: collectflow-data
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
nginx_default:
|
nginx_default:
|
||||||
external: true
|
external: true
|
||||||
Reference in new issue
Block a user