port mapping for mongo
This commit is contained in:
parent
d29806ae19
commit
ae3c4d4f96
1 changed files with 2 additions and 0 deletions
|
|
@ -4,6 +4,8 @@ services:
|
||||||
image: mongo:7.0
|
image: mongo:7.0
|
||||||
container_name: mongo-db${KOMODO_NODE_ID}
|
container_name: mongo-db${KOMODO_NODE_ID}
|
||||||
hostname: mongo-db${KOMODO_NODE_ID}
|
hostname: mongo-db${KOMODO_NODE_ID}
|
||||||
|
ports:
|
||||||
|
- 27017:27017
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- komodo_internal
|
- komodo_internal
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue