-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
27 lines (27 loc) · 1.24 KB
/
.env.example
File metadata and controls
27 lines (27 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
API__TITLE=Object Storage Service API
API__DESCRIPTION=This is the API for the Object Storage Service
# (If using a proxy) The path prefix handled by a proxy that is not seen by the app.
API__ROOT_PATH=
# The allowed headers, origins, and methods for cross-origin requests.
API__ALLOWED_CORS_HEADERS=["*"]
API__ALLOWED_CORS_ORIGINS=["*"]
API__ALLOWED_CORS_METHODS=["*"]
AUTHENTICATION__ENABLED=true
AUTHENTICATION__PUBLIC_KEY_PATH=./keys/jwt-key.pub
AUTHENTICATION__JWT_ALGORITHM=RS256
OS_DATABASE__PROTOCOL=mongodb
OS_DATABASE__USERNAME=root
OS_DATABASE__PASSWORD=example
OS_DATABASE__HOST_AND_OPTIONS=localhost:27017/?authMechanism=SCRAM-SHA-256&authSource=admin
OS_DATABASE__NAME=object-storage
OBJECT_STORAGE__ENDPOINT_URL=http://localhost:9000
OBJECT_STORAGE__ACCESS_KEY=root
OBJECT_STORAGE__SECRET_ACCESS_KEY=example_password
OBJECT_STORAGE__BUCKET_NAME=object-storage
OBJECT_STORAGE__PRESIGNED_URL_EXPIRY_SECONDS=1800
ATTACHMENT__ALLOWED_FILE_EXTENSIONS=[".csv", ".doc", ".docx", ".ods", ".odt", ".rtf", ".pdf", ".txt", ".xls", ".xlsx"]
ATTACHMENT__MAX_SIZE_BYTES=104857600
ATTACHMENT__UPLOAD_LIMIT=50
IMAGE__ALLOWED_FILE_EXTENSIONS=[".bmp", ".jpe", ".jpeg", ".jpg", ".png", ".tif", ".tiff", ".webp"]
IMAGE__THUMBNAIL_MAX_SIZE_PIXELS=300
IMAGE__UPLOAD_LIMIT=100