-
Notifications
You must be signed in to change notification settings - Fork 3
/
.env.sample
44 lines (31 loc) · 890 Bytes
/
.env.sample
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
PROJECT_NAME = sugarcane
DEBUG = True
ALLOWED_HOSTS = localhost
EXPOSED_CANE_SERVER_PORT = 5050
EXPOSED_CANE_DJ_PORT = 8850
EXPOSED_REDIS_PORT = 63792
CANE_DATABASE_NAME = sugarcane
CANE_DATABASE_USER = sugarcane
CANE_DATABASE_PASSWORD = sugarcane
EXPOSED_DATABASE_PORT = 5438
SECRET_KEY = "django-secure-key"
REDIS_HOST_CANE = 'redis'
REDIS_PORT_CANE = 6379
REDIS_DB_CANE = 1
CANE_SERVER_LISTEN_PORT = 5000
CANE_SERVER_LISTEN_HOST = '0.0.0.0'
R_PREFIX = "cane:"
MASTER_KEY = "MASTER"
EXPIRED_PREFIX = "EXPIRED"
EXPIRED_TTL = 86400
MASTER_TTL = 10
NODES_TTL = 100
NODE_API_URL = "http://localhost:5050/cdn/get/{version}/{node_name}"
REDIS_HOST_DEMO = 'redis'
REDIS_PORT_DEMO = 6379
REDIS_DB_DEMO = 2
DEMO_APP_CANE_SERVER_HOST = "http://sugarcane:8000"
DEMO_APP_HOST = "localhost"
DEMO_APP_PORT = 5000
DEMO_APP_R_PREFIX_NODE = "CC:NODE:"
DEMO_APP_R_PREFIX_MASTER = "CC:MASTER:"