This repository has been archived by the owner on Oct 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
config-sample.js
68 lines (68 loc) · 2.08 KB
/
config-sample.js
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
``
module.exports = {
azure: {
storage_account: process.env.STORAGE_ACCOUNT_NAME || 'storage_account_name',
key1: process.env.KEY1 || 'azure_storage_key',
directory: 'aggregations'
},
auth0: {
auth_domain: process.env.AUTH0_DOMAIN || 'AUTH0_DOMAIN',
client_id: process.env.AUTH0_CLIENTID || 'AUTH0_CLIENTID',
callback_url: 'http://localhost:8000/api/v1/token/',
client_secret: process.env.AUTH0_CLIENT_SECRET || 'CLIENT_SECRET',
auth_url: process.env.AUTH_URL || 'AUTH_URL',
// callback_url: 'http://magicbox-open-api.azurewebsites.net/api/v1/token/'
callback_url: process.env.AUTH0_CB_URL || 'http://localhost:8000/api/v1/token/',
redirect_uri: process.env.REDIRECT_URI || 'http://localhost:8000/',
roles: {
'unicef.org': 'admin',
'projectconnect.world': 'proco',
},
},
mobility: {
path: 'mobility/',
default_country: 'colombia',
default_database: 'santiblanko',
default_source: 'telefonica',
default_admin_level: 2
},
mosquito: {
val_type: 'mean',
source: 'The global distribution of the arbovirus vectors Aedes aegypti and Ae. albopictus',
source_url: 'https://elifesciences.org/content/4/e08347',
path: 'mosquito/',
default_source: 'simon_hay',
default_database: 'gadm2-8'
},
population: {
val_type: 'sum',
source: 'worldpop.org.uk',
source_url: 'http://www.worldpop.org.uk',
path: 'population/',
default_source: 'worldpop',
default_database: 'gadm2-8'
},
'geo-properties': {
path: '../geo-properties/'
},
cases: {
path: 'cases/',
zika: {
source: 'Paho',
source_url: 'http://www.paho.org/hq/index.php?option=com_content&view=article&id=12390&Itemid=42090&lang=en',
path: 'zika/paho/'
}
},
logger: {
key: 'mixpanel_token'
},
// Optional custom database config options for PostgreSQL
db: {
user: process.env.DB_USER,
host: process.env.DB_HOST,
database: process.env.DB_NAME,
password: process.env.DB_PASSWORD,
port: process.env.DB_PORT
},
max_query_result: 100000000
};