mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-09-30 18:29:36 +02:00
docker: use named volumes instead of creating folders in $HOME
This commit is contained in:
1 parent
9482e1ddc1
commit
e3f97bc47e
1 file changed
+7
-3
+7
-3
@@ -51,8 +51,8 @@ services:
|
|||||||
image: mongo:7.0.12
|
image: mongo:7.0.12
|
||||||
hostname: notesnook-db
|
hostname: notesnook-db
|
||||||
volumes:
|
volumes:
|
||||||
- ${HOME}/.notesnook/db/data:/data/db
|
- dbdata:/data/db
|
||||||
- ${HOME}/.notesnook/db/configdb:/data/configdb
|
- dbdata:/data/configdb
|
||||||
networks:
|
networks:
|
||||||
- notesnook
|
- notesnook
|
||||||
command: --replSet rs0 --bind_ip_all
|
command: --replSet rs0 --bind_ip_all
|
||||||
@@ -92,7 +92,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- notesnook
|
- notesnook
|
||||||
volumes:
|
volumes:
|
||||||
- ${HOME}/.notesnook/s3:/data/s3
|
- s3data:/data/s3
|
||||||
environment:
|
environment:
|
||||||
MINIO_BROWSER: "on"
|
MINIO_BROWSER: "on"
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -228,3 +228,7 @@ services:
|
|||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
networks:
|
networks:
|
||||||
notesnook:
|
notesnook:
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
dbdata:
|
||||||
|
s3data:
|
||||||
Reference in new issue
Block a user