Skip to content

Commit 5d1e9ce

Browse files
authored
chore: Include all ports in system compose file (#1540)
The ports are not required when they're not being forwarded but including them means there is one place to look to figure out which service is running where.
1 parent 62353cd commit 5d1e9ce

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

tests/system_tests/compose.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ services:
88
- "8406:8000"
99
security_opt:
1010
- label=disable
11-
11+
1212
rabbitmq:
1313
image: docker.io/rabbitmq:4.0-management
1414
ports:
15-
- "1883:1883"
16-
- "5672:5672"
17-
- "15672:15672"
18-
- "61613:61613"
15+
- "1883:1883" # mqtt
16+
- "5672:5672" # amqp
17+
- "15672:15672" # dashboard
18+
- "61613:61613" # stomp
1919
volumes:
2020
- type: bind
2121
source: ./services/rabbitmq_plugins
@@ -47,7 +47,7 @@ services:
4747

4848
tiled:
4949
image: ghcr.io/bluesky/tiled:0.2.4
50-
network_mode: host
50+
network_mode: host # Port 8407
5151
environment:
5252
- PYTHONPATH=/deploy/
5353
volumes:
@@ -61,7 +61,7 @@ services:
6161

6262
opa:
6363
image: openpolicyagent/opa:edge-static-debug
64-
network_mode: host
64+
network_mode: host # Port 8181
6565
volumes:
6666
- "./services/opa_config:/mnt"
6767
environment:
@@ -71,7 +71,7 @@ services:
7171
- label=disable
7272

7373
blueapi-oauth2-proxy:
74-
network_mode: host
74+
network_mode: host # Port 4180
7575
image: "quay.io/oauth2-proxy/oauth2-proxy:v7.13.0"
7676
volumes:
7777
- ./services/blueapi-oauth2-proxy/:/opt/config
@@ -87,7 +87,7 @@ services:
8787
- label=disable
8888

8989
tiled-oauth2-proxy:
90-
network_mode: host
90+
network_mode: host # Port 4181
9191
image: "quay.io/oauth2-proxy/oauth2-proxy:v7.13.0"
9292
volumes:
9393
- ./services/tiled-oauth2-proxy/:/opt/config

0 commit comments

Comments
 (0)