diff --git a/docker-compose.yml b/docker-compose.yml index 14b23dd7..be696e89 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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"