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/.gitkeep
|
||||
!portainer_data/.gitkeep
|
||||
mongo_data/*
|
||||
!mongo_data/.gitkeep
|
||||
|
|
@ -39,6 +39,8 @@ services:
|
|||
networks:
|
||||
usp_network:
|
||||
ipv4_address: 172.16.235.4
|
||||
volumes:
|
||||
- ./mongo_data:/data/db
|
||||
profiles: [controller,adapter]
|
||||
|
||||
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