add env file description

This commit is contained in:
Pouria 2025-02-06 10:57:07 +03:30 committed by GitHub
parent 4fd4d2e6b0
commit e75d4b2bac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,7 +86,9 @@ Official Kutt Docker image is available on [Docker Hub](https://hub.docker.com/r
The app is configured via environment variables. You can pass environment variables directly or create a `.env` file. View [`.example.env`](./.example.env) file for the list of configurations.
All variables are optional except `JWT_SECRET` which is required on production.
All variables are optional except `JWT_SECRET` which is required on production.
You can use files for each of the variables by appending `_FILE` to the name of the variable. Example: `JWT_SECRET_FILE=/path/to/secret_file`.
| Variable | Description | Default | Example |
| -------- | ----------- | ------- | ------- |