services: web-app: build: context: . dockerfile: Dockerfile args: # Baked into the bundle at build time. Leave empty to use same-origin # "/api", which nginx proxies to API_TARGET below. VITE_API_BASE: "${VITE_API_BASE:-}" image: drivervault-web container_name: drivervault-web restart: unless-stopped ports: - "${WEB_PORT:-8081}:80" environment: # Upstream API Server that nginx proxies /api/ to. Point this at your # external API Server (host:port), e.g. http://10.2.1.10:8080. API_TARGET: "${API_TARGET:-http://api-server:8080}"