forked from cesium-ml/baselayer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml.defaults
95 lines (81 loc) · 2.48 KB
/
config.yaml.defaults
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
app:
secret_key: abc01234 # This secret key can be any random string of
# characters.
#
# You should re-generate this for your application
# using:
#
# base64.b64encode(os.urandom(50)).decode('ascii')
factory:
database:
database:
host: localhost
port: 5432
user:
password:
paths:
downloads_folder: '/tmp'
server:
ssl: False
processes: 1
# From https://console.developers.google.com/
#
# - Create Client ID
# - Javascript origins: https://localhost:5000
# - Authorized redirect URLs: http://localhost:5000/complete/google-oauth2/
#
# You need to have Google+ API enabled; it takes a few minutes to activate.
auth:
debug_login: False
google_oauth2_key:
google_oauth2_secret:
services:
paths:
- ./baselayer/services
- ./services
# By default, all services are enabled. Use this list to add
# services if 'disabled' is set to '*'
enabled:
# A list of service names, or '*'
disabled:
- dask
# You can use disabled to disable specific services, or '*' to disable them all
log:
# if true, log all API calls, including successful ones, if false,
# log only those that trigger a warning / error
api_calls: False
ports:
websocket: 64000
fake_oauth: 63000
app: 5000
app_http_proxy: 5001
app_internal: 65000 # nginx forwards this port to ports:app
dask: 63500
websocket_path_in: 'ipc://run/message_flow_in'
websocket_path_out: 'ipc://run/message_flow_out'
status: 64500
migration_manager: 64501
external_logging:
papertrail:
# get an account at https://papertrailapp.com
enabled: False
# change url to the correct subdomain for your account
# and change the port as well
url:
port:
# which log files, if any do you not want to send over to the 3rd party?
excluded_log_files: [""]
# You can schedule jobs to run at a certain time interval (given in minutes).
#
# If baselayer is not running at the time the job is supposed to run,
# it will be run when fired up the next time.
#
# If a "limit" is provided, the cron job will only executed between
# the start and end times given.
#
# cron:
# - interval: 1
# script: tools/1_minute.py
# - interval: 5
# script: tools/5_minute.py
# limit: ["01:00", "02:00"]