Skip to content

Commit 5419806

Browse files
committed
docker: Publish internal services to ephemeral ports
Signed-off-by: Phoevos Kalemkeris <[email protected]>
1 parent f65e342 commit 5419806

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

docker-compose.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ services:
1313
expose:
1414
- 5432
1515
ports:
16-
- 5432:5432
16+
- 5432
1717
networks:
1818
- postgres
1919
- gateway
@@ -37,8 +37,8 @@ services:
3737
- 9000
3838
- 9001
3939
ports:
40-
- 9000:9000
41-
- 9001:9001
40+
- 9000
41+
- 9001
4242
networks:
4343
- gateway
4444
volumes:
@@ -60,7 +60,7 @@ services:
6060
env_file:
6161
- .env
6262
ports:
63-
- 15433:80
63+
- 80
6464
depends_on:
6565
postgres:
6666
condition: service_healthy
@@ -78,8 +78,8 @@ services:
7878
expose:
7979
- 5672
8080
ports:
81-
- 5672:5672
82-
- 15672:15672
81+
- 5672
82+
- 15672
8383
networks:
8484
- gateway
8585
volumes:
@@ -117,6 +117,8 @@ services:
117117
- no_proxy=minio,mlflow-ui,postgres,rabbitmq,localhost
118118
env_file:
119119
- .env
120+
expose:
121+
- 8000
120122
ports:
121123
- 8888:8000
122124
volumes:

0 commit comments

Comments
 (0)