-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
47 lines (42 loc) · 1.11 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
# has to be lower case
LOG_LEVEL=info
############
# MONGO DB #
############
DB_URL=mongodb://localhost:27017/appdb
DB_USERNAME=
DB_PASSWORD=
DB_NAME=appdb
DEFAULT_WRITE_CONCERN=majority
DEFAULT_WRITE_ACK_TIMEOUT=5000
############
# Vault #
############
# true or false
VAULT_ENABLED=false
VAULT_SECRETS_PATH=/service/secrets_v1
VAULT_URL=
VAULT_ROLE=
# for local development/testing
VAULT_TOKEN=
############
# Kafka #
############
KAFKA_MESSAGING_ENABLED=false
# if messaging is set to false, values below don't need to be set
KAFKA_CLIENT_ID=
KAFKA_BROKERS=broker:1,broker:2,broker:3
KAFKA_TOPIC_PROGRAM_UPDATE=
KAFKA_TOPIC_PROGRAM_UPDATE_CONFIG_PARTITIONS=1
# number of replications can't be greater then available brokers
KAFKA_TOPIC_PROGRAM_UPDATE_CONFIG_REPLICATIONS=3
############
# EGO #
############
# to disable set to =false, any other falsy value is not considered false.
AUTH_ENABLED=true
JWT_KEY_URL=
# optional, if this is set, it will take precedence over fetching from the url
# if you provide the url instead this env key will be set in the process env from the url
JWT_KEY=
WRITE_PERMISSION=SERVICE.WRITE