copier.yml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. project_name:
  2. type: str
  3. help: The name of the project, shown to API users (in .env)
  4. default: FastAPI Project
  5. stack_name:
  6. type: str
  7. help: The name of the stack used for Docker Compose labels (no spaces) (in .env)
  8. default: fastapi-project
  9. secret_key:
  10. type: str
  11. help: |
  12. 'The secret key for the project, used for security,
  13. stored in .env, you can generate one with:
  14. python -c "import secrets; print(secrets.token_urlsafe(32))"'
  15. default: changethis
  16. first_superuser:
  17. type: str
  18. help: The email of the first superuser (in .env)
  19. default: admin@example.com
  20. first_superuser_password:
  21. type: str
  22. help: The password of the first superuser (in .env)
  23. default: changethis
  24. smtp_host:
  25. type: str
  26. help: The SMTP server host to send emails, you can set it later in .env
  27. default: ""
  28. smtp_user:
  29. type: str
  30. help: The SMTP server user to send emails, you can set it later in .env
  31. default: ""
  32. smtp_password:
  33. type: str
  34. help: The SMTP server password to send emails, you can set it later in .env
  35. default: ""
  36. emails_from_email:
  37. type: str
  38. help: The email account to send emails from, you can set it later in .env
  39. default: info@example.com
  40. postgres_password:
  41. type: str
  42. help: |
  43. 'The password for the PostgreSQL database, stored in .env,
  44. you can generate one with:
  45. python -c "import secrets; print(secrets.token_urlsafe(32))"'
  46. default: changethis
  47. sentry_dsn:
  48. type: str
  49. help: The DSN for Sentry, if you are using it, you can set it later in .env
  50. default: ""
  51. _exclude:
  52. # Global
  53. - .vscode
  54. - .mypy_cache
  55. - poetry.lock
  56. # Python
  57. - __pycache__
  58. - app.egg-info
  59. - "*.pyc"
  60. - .mypy_cache
  61. - .coverage
  62. - htmlcov
  63. - poetry.lock
  64. - .cache
  65. - .venv
  66. # Frontend
  67. # Logs
  68. - logs
  69. - "*.log"
  70. - npm-debug.log*
  71. - yarn-debug.log*
  72. - yarn-error.log*
  73. - pnpm-debug.log*
  74. - lerna-debug.log*
  75. - node_modules
  76. - dist
  77. - dist-ssr
  78. - "*.local"
  79. # Editor directories and files
  80. - .idea
  81. - .DS_Store
  82. - "*.suo"
  83. - "*.ntvs*"
  84. - "*.njsproj"
  85. - "*.sln"
  86. - "*.sw?"
  87. _answers_file: .copier/.copier-answers.yml
  88. _tasks:
  89. - "python .copier/update_dotenv.py"