2019-02-21 12:04:08 +00:00
|
|
|
services:
|
|
|
|
mongo1:
|
2024-09-23 07:06:58 +00:00
|
|
|
image: mongo:6.0
|
2019-02-21 12:04:08 +00:00
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
MONGO_INITDB_ROOT_USERNAME: root
|
|
|
|
MONGO_INITDB_ROOT_PASSWORD: clickhouse
|
|
|
|
ports:
|
2023-01-02 16:45:50 +00:00
|
|
|
- ${MONGO_EXTERNAL_PORT:-27017}:${MONGO_INTERNAL_PORT:-27017}
|
2020-05-19 20:12:10 +00:00
|
|
|
command: --profile=2 --verbose
|
2021-12-09 14:40:51 +00:00
|
|
|
|
2024-09-23 07:06:58 +00:00
|
|
|
mongo_no_cred:
|
|
|
|
image: mongo:6.0
|
2021-12-09 14:40:51 +00:00
|
|
|
restart: always
|
|
|
|
ports:
|
2023-01-02 16:45:50 +00:00
|
|
|
- ${MONGO_NO_CRED_EXTERNAL_PORT:-27017}:${MONGO_NO_CRED_INTERNAL_PORT:-27017}
|
2024-09-23 07:06:58 +00:00
|
|
|
|
|
|
|
mongo_secure:
|
|
|
|
image: mongo:6.0
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
MONGO_INITDB_ROOT_USERNAME: root
|
|
|
|
MONGO_INITDB_ROOT_PASSWORD: clickhouse
|
|
|
|
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
|