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:
|
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
|
|
|
|
|
|
|
mongo2:
|
2021-12-10 19:02:28 +00:00
|
|
|
image: mongo:5.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}
|