# BigDataTool 简化版本 Docker Compose 配置 # 适用于快速开发和测试 version: '3.8' services: bigdatatool: build: context: . dockerfile: Dockerfile container_name: bigdatatool ports: - "8080:5000" environment: - FLASK_ENV=production - FLASK_DEBUG=False - FLASK_HOST=0.0.0.0 - FLASK_PORT=5000 # volumes: # # 持久化数据库 # - ./data:/app/data # # 持久化日志 # - ./logs:/app/logs restart: unless-stopped healthcheck: test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5000/api/health"] interval: 30s timeout: 10s retries: 3 start_period: 40s