-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
119 lines (103 loc) · 2.66 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# has to be lower case
LOG_LEVEL=info
ENABLE_DEBUG_ENDPOINTS=false
############
# MONGO DB #
############
LOG_QUERIES=false
DB_URL=mongodb://localhost:27017/files
DB_USERNAME=admin
DB_PASSWORD=password
# database name, needed for migrate mongo
DB_NAME=files
# https://docs.mongodb.com/manual/core/replica-set-write-concern/
DEFAULT_WRITE_CONCERN=majority
DEFAULT_WRITE_ACK_TIMEOUT=5000
############
# Jwt #
############
JWT_TOKEN_PUBLIC_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_TOKEN_PUBLIC_KEY=
############
# 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=files-service
KAFKA_BROKERS=localhost:9092
## Consumers:
# Analysis Updates
KAFKA_ANALYSIS_UPDATES_TOPIC=song_analysis
#KAFKA_ANLYSIS_UPDATES_GROUP=
#KAFKA_ANALYSIS_UPDATES_DLQ=
# Recalculate Embargo
#KAFKA_RECALCULATE_EMBARGO_TOPIC=
#KAFKA_RECALCULATE_EMBARGO_GROUP=
# Clinical Data Updates
KAFKA_CLINICAL_UPDATES_TOPIC=clinical_program_update
#KAFKA_CLINICAL_UPDATES_GROUP=
#KAFKA_CLINICAL_UPDATES_DLQ=
## Producers:
KAFKA_PUBLIC_RELEASE_TOPIC=files_public_release
############
# Auth #
############
AUTH_ENABLED=true
JWT_KEY_URL=http://localhost:8088/api/oauth/token/public_key
JWT_KEY=
EGO_POLICY=FILES-SERVICE
EGO_ROOT_REST=
EGO_CLIENT_ID=
EGO_CLIENT_SECRET=
############
# Elastic #
############
ES_NODE=
ES_USER=
ES_PASSWORD=
ES_SNAPSHOT_REPOSITORY=backups
# ES_MAX_WRITE_CONCURRENCY=5
# ES_MAX_FILE_BULK_WRITE_LENGTH=5000
INDEX_NAME=
# for testing auto create index from sample mapping file
CREATE_SAMPLE_INDEX=false
############
# Maestro #
############
ANALYSIS_CONVERTER_URL=https://localhost:11235/convert
ANALYSIS_CONVERTER_TIMEOUT=30000
###############
# DC service #
###############
DC_REGISTRY_URL=https://dc.dev.argo.cancercollaboratory.org/
# These are temporary solution until this service is integrated with DC registry url
DC_ID=song.collab
DC_URL=https://song.rdpc.cancercollaboratory.org/
DC_GATEWAY_URL=https://api.rdpc-qa.cancercollaboratory.org/graphql
# DC_ANALYSES_PAGESIZE=50
#############
# Rollcall #
#############
ROLLCALL_URL=http://localhost:9001
ROLLCALL_FILE_ALIAS=file_centric
ROLLCALL_FILE_ENTITY=file
#################
# Clinical API #
#################
CLINICAL_URL=http://localhost:3000
##################
# Feature Flags #
##################
FEATURE_CLINICAL_DATA_INDEXING=false