mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
services:
|
|
mongo1:
|
|
stop_grace_period: 5s
|
|
image: mongo:6.0
|
|
restart: always
|
|
environment:
|
|
MONGO_INITDB_ROOT_USERNAME: root
|
|
MONGO_INITDB_ROOT_PASSWORD: ClickHouse_MongoDB_P@ssw0rd
|
|
ports:
|
|
- ${MONGO_EXTERNAL_PORT:-27017}:${MONGO_INTERNAL_PORT:-27017}
|
|
command: --profile=2 --verbose
|
|
cpus: 3
|
|
|
|
mongo_no_cred:
|
|
stop_grace_period: 5s
|
|
image: mongo:6.0
|
|
restart: always
|
|
ports:
|
|
- ${MONGO_NO_CRED_EXTERNAL_PORT:-27017}:${MONGO_NO_CRED_INTERNAL_PORT:-27017}
|
|
cpus: 3
|
|
|
|
mongo_secure:
|
|
stop_grace_period: 5s
|
|
image: mongo:6.0
|
|
restart: always
|
|
environment:
|
|
MONGO_INITDB_ROOT_USERNAME: root
|
|
MONGO_INITDB_ROOT_PASSWORD: ClickHouse_MongoDB_P@ssw0rd
|
|
volumes:
|
|
- ${MONGO_SECURE_CONFIG_DIR:-}:/mongo/
|
|
ports:
|
|
- ${MONGO_SECURE_EXTERNAL_PORT:-27017}:${MONGO_SECURE_INTERNAL_PORT:-27017}
|
|
command: --config /mongo/mongo_secure.conf --profile=2 --verbose
|
|
cpus: 3
|