expose mongodb and make DB and logs persistent
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
log/
|
||||||
|
mongodb/
|
||||||
@@ -6,10 +6,12 @@ services:
|
|||||||
container_name: hss
|
container_name: hss
|
||||||
volumes:
|
volumes:
|
||||||
- ./hss:/mnt/hss
|
- ./hss:/mnt/hss
|
||||||
|
- ./mongodb:/var/lib/mongodb
|
||||||
environment:
|
environment:
|
||||||
- MME_IP=172.18.0.3
|
- MME_IP=172.18.0.3
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
|
- "27017:27017"
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
ipv4_address: 172.18.0.2
|
ipv4_address: 172.18.0.2
|
||||||
|
|||||||
0
mongodb/.keep
Normal file
0
mongodb/.keep
Normal file
Reference in New Issue
Block a user