add additional hosts to the komodo deploy
This commit is contained in:
parent
af1faf9886
commit
0ce3d20167
1 changed files with 3 additions and 0 deletions
|
|
@ -36,6 +36,9 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- ${KOMODO_DB_HOSTNAME}
|
- ${KOMODO_DB_HOSTNAME}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
extra_hosts:
|
||||||
|
- "mongo-db1:${KOMODO_DB_PRI}"
|
||||||
|
- "mongo-db2:${KOMODO_DB_SEC}"
|
||||||
environment:
|
environment:
|
||||||
- KOMODO_DATABASE_URI=mongodb://${KOMODO_DB_PRI}:27017,${KOMODO_DB_SEC}:27017/komodo?replicaSet=rs${LXC_NUM}
|
- KOMODO_DATABASE_URI=mongodb://${KOMODO_DB_PRI}:27017,${KOMODO_DB_SEC}:27017/komodo?replicaSet=rs${LXC_NUM}
|
||||||
labels:
|
labels:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue