Handle port mappings while creating a deployment

This commit is contained in:
2024-02-21 18:33:26 +05:30
parent d0d0602e88
commit f094a74e66
3 changed files with 22 additions and 14 deletions
@@ -69,9 +69,9 @@ services:
- mobymask_deployment:/server
# Expose GQL, metrics and relay node ports
ports:
- "3001"
- "0.0.0.0:3001:3001"
- "9001"
- "9090"
- "0.0.0.0:9090:9090"
healthcheck:
test: ["CMD", "busybox", "nc", "localhost", "9090"]
interval: 20s
@@ -107,7 +107,7 @@ services:
ports:
- "3001"
- "9001"
- "9090"
- "0.0.0.0:9091:9090"
healthcheck:
test: ["CMD", "busybox", "nc", "localhost", "9090"]
interval: 20s
@@ -145,7 +145,7 @@ services:
ports:
- "3001"
- "9001"
- "9090"
- "0.0.0.0:9092:9090"
healthcheck:
test: ["CMD", "busybox", "nc", "localhost", "9090"]
interval: 20s