services: backend: env_file: - .env.staging # 覆盖基础文件的 .env,指向测试资源 environment: - LOG_LEVEL=info # 测试环境用 info,比生产详细,比开发简洁 restart: unless-stopped