survey/docker-compose-dev.yml
2025-11-24 15:48:29 +08:00

28 lines
593 B
YAML

version: '3.8'
services:
survey-app:
build: .
container_name: survey-system
ports:
- "8000:8000"
volumes:
- ./data/:/app/data
environment:
- TZ=Asia/Shanghai
- PYTHONUNBUFFERED=1
- 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