ClickHouse/tests/integration/compose/docker_compose_mongo.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
934 B
YAML
Raw Normal View History

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:
- ${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:
- ${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