add frontend to the docker-compose

This commit is contained in:
wilson 2026-03-24 20:02:32 +00:00
parent da8022e66c
commit 3a07c81359

View file

@ -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: