mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
29 lines
919 B
YAML
29 lines
919 B
YAML
services:
|
|
mongo1:
|
|
image: mongo:6.0
|
|
restart: always
|
|
environment:
|
|
MONGO_INITDB_ROOT_USERNAME: root
|
|
MONGO_INITDB_ROOT_PASSWORD: clickhouse
|
|
ports:
|
|
- ${MONGO_EXTERNAL_PORT:-27017}:${MONGO_INTERNAL_PORT:-27017}
|
|
command: --profile=2 --verbose
|
|
|
|
mongo_no_cred:
|
|
image: mongo:6.0
|
|
restart: always
|
|
ports:
|
|
- ${MONGO_NO_CRED_EXTERNAL_PORT:-27017}:${MONGO_NO_CRED_INTERNAL_PORT:-27017}
|
|
|
|
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
|