-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
44 lines (36 loc) · 1.7 KB
/
.env.example
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
###################################################################################
# These are environment variables that are used by the application. They are #
# loaded into the environment by the ``.env`` file in the root of the project. #
# They override the defaults in app/lib/settings.py if they are set. #
# #
# Please note that you must: #
# - Restart the application for changes to take effect #
# - Use the correct env_prefix for the setting you are overriding if it exists #
# - Use the correct type for the setting you are overriding if it exists #
# #
# For development environments, copying .env.example -> .env should get you going #
###################################################################################
# --- Project Settings ---
NIAPI_URL=https://niapi.app/
LITESTAR_APP=app.asgi:create_app
# --- Logging Settings ---
# Prefix is ``LOG_`` for all logging settings
LOG_LEVEL=10
# --- Server Settings ---
# Prefix is ``SERVER_`` for all server settings
SERVER_HOST=0.0.0.0
SERVER_PORT=8000
SERVER_HTTP_WORKERS=1
# --- App Settings ---
# Prefix is ``APP_`` for all app settings
APP_ENVIRONMENT=dev
APP_SECRET_KEY=ThisIsNotAProductionToken
APP_DEBUG=True
APP_RELOAD=True
# --- API Settings ---
# Prefix is ``API_`` for all API settings
# --- OpenAPI Settings ---
# Prefix is ``OPENAPI_`` for all OpenAPI settings
# --- HTTP Client Settings ---
# Prefix is ``HTTP_CLIENT_`` for all HTTP Client settings
# --- Docker Settings ---