Add expose ports so Traefik knows where to route traffic
This commit is contained in:
@@ -5,6 +5,8 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./client
|
context: ./client
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
expose:
|
||||||
|
- "4000"
|
||||||
environment:
|
environment:
|
||||||
- PORT=4000
|
- PORT=4000
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -14,6 +16,8 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./api
|
context: ./api
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
expose:
|
||||||
|
- "4001"
|
||||||
environment:
|
environment:
|
||||||
- PORT=4001
|
- PORT=4001
|
||||||
- PGHOST=postgres
|
- PGHOST=postgres
|
||||||
|
|||||||
Reference in New Issue
Block a user