-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.env
More file actions
22 lines (17 loc) · 713 Bytes
/
Copy pathexample.env
File metadata and controls
22 lines (17 loc) · 713 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Public base URL this API is reachable at (no trailing slash needed).
# Used to build the URLs returned for uploaded files.
DOMAIN=http://localhost:8080
# Secret key clients must send in the Authorization header.
API_KEY=changeme
# Directory uploaded files are stored in.
UPLOADS_DIR=/uploads
# URL path segment uploaded files are served under, e.g. "files", "file", or
# "s" for short links like dropshare.example.com/s/abc.png. Leave empty to
# serve straight off the root instead, e.g. uploads.example.com/abc.png.
FILES_URL_PREFIX=files
# Maximum accepted upload size, in megabytes.
MAX_UPLOAD_SIZE_MB=100
# Uvicorn (optional, defaults shown)
UVICORN_HOST=0.0.0.0
UVICORN_PORT=8080
UVICORN_RELOAD=false