fix(mongo): docker data map to local volume | closes #220

This commit is contained in:
leandrofars 2024-04-09 01:22:37 -03:00
parent 41a088998c
commit a4fcfba124
3 changed files with 5 additions and 1 deletions

View File

@ -1,2 +1,4 @@
portainer_data/* portainer_data/*
!portainer_data/.gitkeep !portainer_data/.gitkeep
mongo_data/*
!mongo_data/.gitkeep

View File

@ -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:

View File