Skip to content

Commit fa85c5c

Browse files
authored
Add note about FIRST_SUPERUSER_PASSWORD needing to be 40 characters or less.
1 parent e4387f4 commit fa85c5c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ The input variables, with their default values (some auto generated) are:
204204
- `stack_name`: (default: `"fastapi-project"`) The name of the stack used for Docker Compose labels and project name (no spaces, no periods) (in .env).
205205
- `secret_key`: (default: `"changethis"`) The secret key for the project, used for security, stored in .env, you can generate one with the method above.
206206
- `first_superuser`: (default: `"[email protected]"`) The email of the first superuser (in .env).
207-
- `first_superuser_password`: (default: `"changethis"`) The password of the first superuser (in .env).
207+
- `first_superuser_password`: (default: `"changethis"`) The password of the first superuser (in .env). Must be 40 characters or less.
208208
- `smtp_host`: (default: "") The SMTP server host to send emails, you can set it later in .env.
209209
- `smtp_user`: (default: "") The SMTP server user to send emails, you can set it later in .env.
210210
- `smtp_password`: (default: "") The SMTP server password to send emails, you can set it later in .env.

deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ You can set several variables, like:
132132
* `BACKEND_CORS_ORIGINS`: A list of allowed CORS origins separated by commas.
133133
* `SECRET_KEY`: The secret key for the FastAPI project, used to sign tokens.
134134
* `FIRST_SUPERUSER`: The email of the first superuser, this superuser will be the one that can create new users.
135-
* `FIRST_SUPERUSER_PASSWORD`: The password of the first superuser.
135+
* `FIRST_SUPERUSER_PASSWORD`: The password of the first superuser. Must be 40 characters or less.
136136
* `SMTP_HOST`: The SMTP server host to send emails, this would come from your email provider (E.g. Mailgun, Sparkpost, Sendgrid, etc).
137137
* `SMTP_USER`: The SMTP server user to send emails.
138138
* `SMTP_PASSWORD`: The SMTP server password to send emails.

0 commit comments

Comments
 (0)