version: '3.8' services: # ─────────────────────────────────────────────────────────────────────────── # DASHBOARD WEB # ─────────────────────────────────────────────────────────────────────────── dashboard_web: build: . container_name: dashboard_web restart: unless-stopped ports: - "3000:8000" # Dashboard web → http://localhost:3000 env_file: - .env environment: # ClickHouse CLICKHOUSE_HOST: ${CLICKHOUSE_HOST:-clickhouse} CLICKHOUSE_DB: ${CLICKHOUSE_DB:-mabase_prod} CLICKHOUSE_USER: ${CLICKHOUSE_USER:-admin} CLICKHOUSE_PASSWORD: ${CLICKHOUSE_PASSWORD:-} # API API_PORT: 8000 healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8000/health"] interval: 30s timeout: 5s retries: 3 start_period: 30s