Add a MongoDB service.

This commit is contained in:
Ivaylo Novakov 2020-10-30 19:00:58 +01:00
parent d4d3f6977b
commit a3c7d25e4b
1 changed files with 15 additions and 0 deletions

View File

@ -160,3 +160,18 @@ services:
depends_on:
- handshake
- handshake-api
mongo:
image: mongo:4.4.1
command: --keyFile=/data/mgkey --replSet=skynet
container_name: mongo
restart: unless-stopped
logging: *default-logging
volumes:
- ./docker/data/mongo/db:/data/db
- ./docker/data/mongo/mgkey:/data/mgkey:rw
networks:
shared:
ipv4_address: 10.10.10.70
ports:
- "27017:27017"