Create .env.api
Browse files
.env.api
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# General server settings
|
2 |
+
HOST=
|
3 |
+
PORT=
|
4 |
+
RELOAD=
|
5 |
+
WORKERS=
|
6 |
+
LOG_LEVEL=
|
7 |
+
ACCESS_LOG=
|
8 |
+
PROXY_HEADERS=
|
9 |
+
|
10 |
+
# CORS settings
|
11 |
+
CORS_ORIGIN=
|
12 |
+
|
13 |
+
# Documentation settings
|
14 |
+
NO_PLAYGROUND=
|
15 |
+
NO_DOCS=
|
16 |
+
|
17 |
+
# Model settings
|
18 |
+
COMPILE=
|
19 |
+
NO_HALF=
|
20 |
+
OFF_TQDM=
|
21 |
+
DEVICE_ID=
|
22 |
+
USE_CPU=
|
23 |
+
LRU_SIZE=
|
24 |
+
DEBUG_GENERATE=
|
25 |
+
PRELOAD_MODELS=
|
26 |
+
|
27 |
+
# Timeout settings
|
28 |
+
TIMEOUT_KEEP_ALIVE=
|
29 |
+
TIMEOUT_GRACEFUL_SHUTDOWN=
|
30 |
+
|
31 |
+
# SSL settings
|
32 |
+
SSL_KEYFILE=
|
33 |
+
SSL_CERTFILE=
|
34 |
+
SSL_KEYFILE_PASSWORD=
|
35 |
+
|
36 |
+
# Exclude specific APIs
|
37 |
+
EXCLUDE=
|