fix(mongo): docker data map to local volume | closes #220
This commit is contained in:
parent
41a088998c
commit
a4fcfba124
4
deploy/compose/.gitignore
vendored
4
deploy/compose/.gitignore
vendored
|
|
@ -1,2 +1,4 @@
|
||||||
portainer_data/*
|
portainer_data/*
|
||||||
!portainer_data/.gitkeep
|
!portainer_data/.gitkeep
|
||||||
|
mongo_data/*
|
||||||
|
!mongo_data/.gitkeep
|
||||||
|
|
@ -39,6 +39,8 @@ services:
|
||||||
networks:
|
networks:
|
||||||
usp_network:
|
usp_network:
|
||||||
ipv4_address: 172.16.235.4
|
ipv4_address: 172.16.235.4
|
||||||
|
volumes:
|
||||||
|
- ./mongo_data:/data/db
|
||||||
profiles: [controller,adapter]
|
profiles: [controller,adapter]
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
|
|
|
||||||
0
deploy/compose/mongo_data/.gitkeep
Normal file
0
deploy/compose/mongo_data/.gitkeep
Normal file
Loading…
Reference in New Issue
Block a user