Skip to content
Snippets Groups Projects
Commit 52185fb8 authored by Andrew Kapuscinski's avatar Andrew Kapuscinski
Browse files

Modified port mapping in docker-compose.dev.yml to run in host mode

Previously, it ran the default, ingress mode, which is used for swarm routing mesh
This makes services available to every service running in the swarm regardless of the node.
Because of this, we ran into port-in-use errors.
parent 0e90f3c3
No related branches found
No related tags found
1 merge request!134Modified port mapping in docker-compose.dev.yml to run in host mode
Pipeline #980 passed
......@@ -4,7 +4,10 @@ services:
workflow:
image: marconi.aoc.nrao.edu/workspaces/workflow:${TAG}
ports:
- "3456:3456"
- target: 3456
published: 3456
protocol: tcp
mode: host
secrets:
- source: dsoc_${ENV}_secrets
target: dsoc-${ENV}.properties
......@@ -31,7 +34,10 @@ services:
capability:
image: marconi.aoc.nrao.edu/workspaces/capability:${TAG}
ports:
- "3457:3457"
- target: 3457
published: 3457
protocol: tcp
mode: host
secrets:
- source: dsoc_${ENV}_secrets
target: dsoc-${ENV}.properties
......@@ -58,7 +64,10 @@ services:
notification:
image: marconi.aoc.nrao.edu/workspaces/notification:${TAG}
ports:
- "3458:3458"
- target: 3458
published: 3458
protocol: tcp
mode: host
secrets:
- source: dsoc_${ENV}_secrets
target: dsoc-${ENV}.properties
......@@ -85,7 +94,10 @@ services:
web:
image: marconi.aoc.nrao.edu/workspaces/web:${TAG}
ports:
- "4444:80"
- target: 80
published: 4444
protocol: tcp
mode: host
deploy:
placement:
constraints:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment