services: backend: build: . env_file: - .env environment: SERVICE_NAME: bl-ocr-backend CORS_ALLOW_ORIGINS: ${CORS_ALLOW_ORIGINS:-*} ports: # Host port is configurable; container listens on 7860 (see Dockerfile CMD/EXPOSE). - "${BACKEND_PORT:-8000}:7860" restart: unless-stopped