add frontend to the docker-compose
This commit is contained in:
parent
da8022e66c
commit
3a07c81359
1 changed files with 13 additions and 0 deletions
|
|
@ -51,6 +51,19 @@ services:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
frontend:
|
||||||
|
build:
|
||||||
|
context: ./frontend
|
||||||
|
args:
|
||||||
|
PUBLIC_API_BASE_URL: ${PUBLIC_API_BASE_URL:-http://localhost:8000}
|
||||||
|
ports:
|
||||||
|
- "${FRONTEND_PORT:-3000}:3000"
|
||||||
|
environment:
|
||||||
|
ORIGIN: ${ORIGIN:-http://localhost:3000}
|
||||||
|
depends_on:
|
||||||
|
- api
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
pgdata:
|
pgdata:
|
||||||
storagedata:
|
storagedata:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue