2020-05-19 15:27:10 +00:00
|
|
|
version: '2.3'
|
2019-02-21 12:04:08 +00:00
|
|
|
services:
|
|
|
|
mongo1:
|
2024-05-25 22:56:37 +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-05-26 17:47:53 +00:00
|
|
|
mongo_no_cred:
|
2024-05-25 22:56:37 +00:00
|
|
|
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-05-26 17:47:53 +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
|