-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yml
72 lines (70 loc) · 2.07 KB
/
config.yml
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
default:
ingestion:
koboform:
asset_id: !expr Sys.getenv('KOBO_ASSET_ID')
username: !expr Sys.getenv('KOBO_USERNAME')
password: !expr Sys.getenv('KOBO_PASSWORD')
storage:
mongodb:
connection_string: !expr Sys.getenv('MONGODB_CONNECTION_STRING')
database:
pipeline:
name: pipeline
collection_name:
legacy:
raw: legacy-raw
preprocessed: legacy-preprocessed
ongoing:
raw: raw
preprocessed: preprocessed
merged_landings: merged-landings
validated: validated
dashboard:
name: app
collection_name:
legacy:
fishery_metrics: legacy-metrics
fishery_metrics_monthly: legacy-metrics_monthly
ongoing:
monthly_stats: monthly_stats
catch_monthly: catch_monthly
gear_distribution: gear_distribution
fish_distribution: fish_distribution
map_distribution: map_distribution
gear_summaries: gear_summaries
google:
key: gcs
options:
project: peskas
bucket: kenya-dev
service_account_key: !expr Sys.getenv('GCP_SA_KEY')
metadata:
google_sheets:
name: metadata-tables
sheet_id: !expr Sys.getenv("GOOGLE_SHEET_ID")
tables:
- BMUs
validation:
k_nboats: 3
k_nfishers: 3
k_catch: 1.5
production:
storage:
mongodb:
connection_string: !expr Sys.getenv('MONGODB_CONNECTION_STRING')
local:
inherits: development
ingestion:
koboform:
asset_id: !expr readLines("auth/kobo-asset-id")
username: !expr readLines("auth/kobo-username")
password: !expr readLines("auth/kobo-password")
storage:
mongodb:
connection_string: !expr readLines("auth/mongodb-connection-string")
google:
options:
service_account_key: !expr readLines("auth/gcp-sa-peskas_ingestion-key.json")
metadata:
google_sheets:
sheet_id: !expr readLines("auth/metadata-sheet-id")