Files
panda db867dcbe5
Deploy to Staging / deploy (push) Has been cancelled
Conflict detector / main (push) Has been cancelled
Lint Backend / lint-backend (push) Has been cancelled
Playwright Tests / changes (push) Has been cancelled
Test Backend / test-backend (push) Has been cancelled
Test Docker Compose / test-docker-compose (push) Has been cancelled
Playwright Tests / test-playwright (1, 4) (push) Has been cancelled
Playwright Tests / test-playwright (2, 4) (push) Has been cancelled
Playwright Tests / test-playwright (3, 4) (push) Has been cancelled
Playwright Tests / test-playwright (4, 4) (push) Has been cancelled
Playwright Tests / merge-playwright-reports (push) Has been cancelled
Playwright Tests / alls-green-playwright (push) Has been cancelled
Issue Manager / issue-manager (push) Has been cancelled
中文汉化
2025-12-18 09:40:41 +08:00

101 lines
2.1 KiB
YAML

project_name:
type: str
help: 项目名称,展示给 API 用户(保存在 .env)
default: FastAPI Project
stack_name:
type: str
help: 用于 Docker Compose 标签的堆栈名称(不能有空格)(保存在 .env)
default: fastapi-project
secret_key:
type: str
help: |
'项目的密钥,用于安全相关功能,
保存在 .env,你可以用以下命令生成:
python -c "import secrets; print(secrets.token_urlsafe(32))"'
default: changethis
first_superuser:
type: str
help: 第一个超级用户的邮箱(保存在 .env)
default: admin@example.com
first_superuser_password:
type: str
help: 第一个超级用户的密码(保存在 .env)
default: changethis
smtp_host:
type: str
help: 用于发送邮件的 SMTP 服务器地址,你可以稍后在 .env 中设置
default: ""
smtp_user:
type: str
help: 用于发送邮件的 SMTP 服务器用户名,你可以稍后在 .env 中设置
default: ""
smtp_password:
type: str
help: 用于发送邮件的 SMTP 服务器密码,你可以稍后在 .env 中设置
default: ""
emails_from_email:
type: str
help: 发送邮件的发件邮箱地址,你可以稍后在 .env 中设置
default: info@example.com
postgres_password:
type: str
help: |
'PostgreSQL 数据库的密码,保存在 .env,
你可以用以下命令生成:
python -c "import secrets; print(secrets.token_urlsafe(32))"'
default: changethis
sentry_dsn:
type: str
help: Sentry 的 DSN,如果你正在使用 Sentry,可以稍后在 .env 中设置
default: ""
_exclude:
# 全局
- .vscode
- .mypy_cache
# Python
- __pycache__
- app.egg-info
- "*.pyc"
- .mypy_cache
- .coverage
- htmlcov
- .cache
- .venv
# 前端
# 日志
- logs
- "*.log"
- npm-debug.log*
- yarn-debug.log*
- yarn-error.log*
- pnpm-debug.log*
- lerna-debug.log*
- node_modules
- dist
- dist-ssr
- "*.local"
# 编辑器目录和文件
- .idea
- .DS_Store
- "*.suo"
- "*.ntvs*"
- "*.njsproj"
- "*.sln"
- "*.sw?"
_answers_file: .copier/.copier-answers.yml
_tasks:
- ["{{ _copier_python }}", .copier/update_dotenv.py]