expose mongodb and make DB and logs persistent

This commit is contained in:
miaoski
2020-04-12 14:09:29 +02:00
parent 3b760ef772
commit c91e6255ef
4 changed files with 4 additions and 0 deletions

View File

@@ -6,10 +6,12 @@ services:
container_name: hss
volumes:
- ./hss:/mnt/hss
- ./mongodb:/var/lib/mongodb
environment:
- MME_IP=172.18.0.3
ports:
- "3000:3000"
- "27017:27017"
networks:
default:
ipv4_address: 172.18.0.2