Merge pull request #502 from NebulousLabs/ivo/mongo

Add a MongoDB service.
This commit is contained in:
Ivaylo Novakov 2020-11-05 16:08:38 +01:00 committed by GitHub
commit 1563296ef1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

View File

@ -159,3 +159,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"