Environment variables¶
This page lists all environment variables for API and frontend.
Configuration through .env
When deploying through Docker, it is recommended to configure the service through the provided .env file since it already contains abstractions for all available environment variables as well as sensible defaults.
Frontend¶
| Name | Default | Comment |
|---|---|---|
| PUBLIC_QUICKSEND_FRONTEND_URL | URL frontend is available under. Used for social media previews. | |
| PUBLIC_QUICKSEND_FRONTEND_API_URL | URL of the API. | |
| PUBLIC_QUICKSEND_FRONTEND_BRAND_LEGAL_DISABLED | false | Whether or not to hide the legal section of the footer. |
| PUBLIC_QUICKSEND_FRONTEND_BRAND_LEGAL_PRIVACY_LABEL | Privacy policy | Label of the privacy policy link |
| PUBLIC_QUICKSEND_FRONTEND_BRAND_LEGAL_PRIVACY_URL | https://codeberg.org/quanticmirror/quicksend | URL of the privacy policy link |
| PUBLIC_QUICKSEND_FRONTEND_BRAND_LEGAL_TERMS_LABEL | Terms of service | Label of the terms of service link |
| PUBLIC_QUICKSEND_FRONTEND_BRAND_LEGAL_TERMS_URL | https://codeberg.org/quanticmirror/quicksend | URL of the terms of service link |
| PUBLIC_QUICKSEND_FRONTEND_BRAND_LEGAL_IMPRINT_LABEL | Imprint | Label of the imprint link |
| PUBLIC_QUICKSEND_FRONTEND_BRAND_LEGAL_IMPRINT_URL | https://codeberg.org/quanticmirror/quicksend | URL of the imprint link |
API¶
| Name | Default value | Comment |
|---|---|---|
| QUICKSEND__FRONTEND__URL | URL frontend is served under. Required for CORS. | |
| QUICKSEND__STORAGE__SENDDIRECTORY | "/storage/sends" | Where API will store Send data |
| QUICKSEND__STORAGE__DATABASEDIRECTORY | "/storage/database" | Where API will store database |
| QUICKSEND__SEND__QUOTAMB | 10000 | Maxmimum size of a Send in megabytes |
| QUICKSEND__SEND__TIMETOLIVE | 86400 | How long a Send is available in seconds. |
| QUICKSEND__SEND__GLOBALQUOTAMB | 100000 | How much space the API will provision in total before refusing to create new Sends (excluding expired Sends). |