survey/docker-compose.yml
朱潮 99796408cf Initial commit: Add survey system with enhanced features
- Complete survey management system with web interface
- Question generation tools and prompts
- Report generation and analysis capabilities
- Docker configuration for deployment
- Database initialization scripts

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-28 20:28:57 +08:00

27 lines
531 B
YAML

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