fix: use environment variable for BACKEND_URL

This commit is contained in:
Abhishek Kumar 2026-02-20 19:26:41 +05:30
parent 871a472985
commit 20b8dc60c1
3 changed files with 12 additions and 1 deletions

View file

@ -151,7 +151,7 @@ services:
image: ${REGISTRY:-dograhai}/dograh-ui:latest
environment:
# Server-side URL (SSR, internal Docker network)
BACKEND_URL: "http://api:8000"
BACKEND_URL: "${BACKEND_URL:-http://api:8000}"
NODE_ENV: "oss"
# Flag to enable/ disable posthog and sentry
ENABLE_TELEMETRY: "${ENABLE_TELEMETRY:-true}"