version: '3.8' services: survey-app: build: . container_name: survey-system ports: - "2010:8000" volumes: - ./data/:/app/data environment: - TZ=Asia/Shanghai - PYTHONUNBUFFERED=1 - LLM_API_URL=https://open.bigmodel.cn/api/paas/v4/chat/completions - GLM_API_KEY=847c627b63db4590a1f3932ff68e15f3.SUFeU6RcjERWQxUq - LLM_API_TIMEOUT=300 - GLM_API_KEY=847c627b63db4590a1f3932ff68e15f3.SUFeU6RcjERWQxUq restart: unless-stopped networks: - survey-network healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8000/"] interval: 30s timeout: 10s retries: 3 start_period: 40s networks: survey-network: driver: bridge