From 3a07c81359b7f1735e59ee733d6d7ca561e1a6ed Mon Sep 17 00:00:00 2001 From: wilson Date: Tue, 24 Mar 2026 20:02:32 +0000 Subject: [PATCH] add frontend to the docker-compose --- docker-compose.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index ce3571d..eb10333 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -51,6 +51,19 @@ services: condition: service_healthy 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: pgdata: storagedata: