-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
20 lines (20 loc) · 848 Bytes
/
.env.example
File metadata and controls
20 lines (20 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
API__TITLE=Inventory Management System API
API__DESCRIPTION=This is the API for the Inventory Management System
# (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
AUTHENTICATION__PRIVILEGED_ROLES=["admin"]
DATABASE__PROTOCOL=mongodb
DATABASE__USERNAME=root
DATABASE__PASSWORD=example
DATABASE__HOST_AND_OPTIONS=localhost:27017/?authMechanism=SCRAM-SHA-256&authSource=admin
DATABASE__NAME=ims
OBJECT_STORAGE__ENABLED=false
OBJECT_STORAGE__API_REQUEST_TIMEOUT_SECONDS=10
OBJECT_STORAGE__API_URL=http://localhost:8002