Add expose ports so Traefik knows where to route traffic
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user