-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env_example
51 lines (38 loc) · 1.17 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
45
46
47
48
49
50
51
### --------------------------------------###
# This file creates the necessary API paths #
### --------------------------------------###
# ===================
# Data entry types
#
# list -> concatenated without quotation marks ""
# Example: HOSTS = host1,host2,host3
#
# int -> Number
# Example: PORT = 8080
#
# boolean -> True/False
# Example: ALLOW_CREDENTIALS = True
#
# string -> Word without quotation marks ""
# Example: REGISTER_PATH = /Register
# ===================
## Settings needed by Uvicorn
HOST = YOUR_HOST # string
PORT = YOUR_PORT # int
DOMAIN = 'http://${HOST}:${PORT}' # leave untouched
## Settings needed by FastAPI app
ALLOW_CREDENTIALS = boolean # boolean
ALLOWED_HOSTS = YOUR_ALLOWED_HOSTS # list or string
ALLOWED_ORIGINS = YOUR_ALLOWED_ORIGINS # list or string
ALLOWED_METHODS = YOUR_ALLOWED_METHODS # list or string
ALLOWED_HEADERS = YOUR_ALLOWED_HEADERS # list or string
## App Config
SECRET_KEY= <Token Secret Key>
ALGORITHM = <Token Algorithm>
## Database config
MONGO_URI = '<your-mongo-server-uri>'
## External Services
USER_API=<User Api Address>
FILE_API=<File Api Address>
ERROR_API=<Error Api Address>
MANAGEMENT_API=<Management Api Address>