-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
57 lines (40 loc) · 1.4 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
52
53
54
55
# Conection to your ERP
ERP_CONF={"server":"http://host:port", "db":"db_name", "user":"user", "password":"password"}
# Database configuration
DATABASE_CONF={"database": "db_name"}
# ERP database, direct access skipping ERP
ERP_DB_CONF = {"host": "host", "database": "db_name", "user": "db_user", "port": "5432", "password": "db_password"}
# Super secret key
SECRET_KEY="super secret key"
# pool transport
TRANSPORT_POOL_CONF={"secure": true}
# Invitation expiration days
EXP_DAYS=1234
# Where to store api data
DATA_DIR="path/to/your/data/dir"
# Redis configuration
REDIS_CONF="redis://your/url/string/configuration"
# Max thread of the api
MAX_THREADS=456
# Max time storing results when pagination
RESULTS_TTL=60
# Expiration JWT
JWT_EXPIRATION_DELTA=3600
# Mongo configuration
MONGO_CONF="mongodb://username:password@server:port/database"
# BeeData API access configuration
CERT_FILE = '/path/to/cerfile/cert.crt'
KEY_FILE = '/path/to/keyfile/cert.key'
COMPANY_ID = 1234567
BASE_URL = 'https://baseurl.com'
APIVERSION = 'v1'
USERNAME = "test@test"
PASSWORD = "test1234"
# Number of workers to download reports from BeeData
N_WORKERS = 2
# Sentry SENTRY_DSN
SENTRY_DSN='https://[email protected]/0'
# Specify default curve backend (mongo/timescale)
#CURVE_TYPE_DEFAULT_BACKEND = 'mongo'
# Specify curve backend (mongo/timescale) for each curve
#CURVE_TYPE_BACKENDS = {"tg_f1": "timescale"}