This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
2021-10-07 09:43:09 +00:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
x-logging: &default-logging
|
|
|
|
driver: json-file
|
|
|
|
options:
|
|
|
|
max-size: "10m"
|
|
|
|
max-file: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
mongo:
|
|
|
|
image: mongo:4.4.1
|
2021-10-18 08:37:29 +00:00
|
|
|
command: --keyFile=/data/mgkey --replSet=${SKYNET_DB_REPLICASET}
|
2021-10-07 09:43:09 +00:00
|
|
|
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.71
|
|
|
|
ports:
|
2021-10-08 12:05:55 +00:00
|
|
|
- "${SKYNET_DB_PORT}:27017"
|