2020-05-19 15:27:10 +00:00
|
|
|
version: '2.3'
|
2019-02-21 12:04:08 +00:00
|
|
|
services:
|
|
|
|
mongo1:
|
2021-12-09 20:58:46 +00:00
|
|
|
image: mongo:5.0
|
2019-02-21 12:04:08 +00:00
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
MONGO_INITDB_ROOT_USERNAME: root
|
|
|
|
MONGO_INITDB_ROOT_PASSWORD: clickhouse
|
|
|
|
ports:
|
2021-02-24 12:42:20 +00:00
|
|
|
- ${MONGO_EXTERNAL_PORT}:${MONGO_INTERNAL_PORT}
|
2020-05-19 20:12:10 +00:00
|
|
|
command: --profile=2 --verbose
|
2021-12-09 14:40:51 +00:00
|
|
|
|
|
|
|
mongo2:
|
2021-12-10 19:02:28 +00:00
|
|
|
image: mongo:5.0
|
2021-12-09 14:40:51 +00:00
|
|
|
restart: always
|
|
|
|
ports:
|
2022-01-14 13:00:38 +00:00
|
|
|
- ${MONGO_NO_CRED_EXTERNAL_PORT}:${MONGO_NO_CRED_INTERNAL_PORT}
|