Add expose ports so Traefik knows where to route traffic

This commit is contained in:
Mohan Ki
2026-07-27 14:25:21 +05:30
parent 1447f64b42
commit 1c6dd53b2a
+4
View File
@@ -5,6 +5,8 @@ services:
build:
context: ./client
dockerfile: Dockerfile
expose:
- "4000"
environment:
- PORT=4000
depends_on:
@@ -14,6 +16,8 @@ services:
build:
context: ./api
dockerfile: Dockerfile
expose:
- "4001"
environment:
- PORT=4001
- PGHOST=postgres