# Development-only overrides. Do not use this file in production. # Usage: docker compose -f docker-compose.yml -f docker-compose.dev.yml up --build # Docker Compose 默认只读取 .env;.env.local 用于本机直接运行 Python 时覆盖 .env。 services: pipeline-lifetime: restart: "no" environment: APP_ENV: development DEBUG: "true" SESSION_COOKIE_SECURE: "false" command: ["conda", "run", "--no-capture-output", "-n", "demo", "python", "main.py"] volumes: - ./app:/app/app - ./templates:/app/templates - ./static:/app/static - ./main.py:/app/main.py - ./data:/app/data - ./data/uploads:/app/uploads - ./data/images:/app/static/images - ./example.xlsx:/app/example.xlsx:ro