-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.defaults.yaml
95 lines (83 loc) · 2.27 KB
/
config.defaults.yaml
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
kowalski:
protocol: https
host: kowalski.caltech.edu
port: 443
token:
irsa:
url: https://irsa.ipac.caltech.edu/ibe/data/ztf/products/
url_login: https://irsa.ipac.caltech.edu/account/signon/login.do
username: anonymous
password: anonymous
# sentinel-service-specific configuration
sentinel:
app:
post_to_fritz: false
checkpoint: tails-20210107
score_threshold: 0.7
box_size_pix: 256
cleanup: all # <ref|sci|all|none>
path: /data
database:
max_pool_size: 200
host: "tails_mongo_1"
port: 27017
db: "tails"
collection: tails
admin_username: "mongoadmin"
admin_password: "mongoadminsecret"
username: "tails"
password: "MilesTailsPrower"
fritz:
protocol: https
host: fritz.science
port: 443
token:
group_id:
filter_id:
dask:
host: 127.0.0.1
scheduler_port: 8786
n_workers: 2
threads_per_worker: 1
# see dask.distributed.Worker for the description
lifetime:
lifetime_stagger:
lifetime_restart:
# this is used to make supervisord_<service>.conf files at build time
supervisord:
watcher:
unix_http_server:
file: /dev/shm/supervisor.sock
supervisord:
logfile: /data/logs/supervisord.log
logfile_maxbytes: 50MB
logfile_backups: 30
loglevel: info
pidfile: /tmp/supervisord.pid
nodaemon: True
minfds: 1024
minprocs: 200
"rpcinterface:supervisor":
"supervisor.rpcinterface_factory": supervisor.rpcinterface:make_main_rpcinterface
supervisorctl:
serverurl: unix:///dev/shm/supervisor.sock
"program:dask-cluster":
command: /opt/conda/bin/python dask_cluster.py
directory: /app
user: root
autostart: true
autorestart: true
stdout_logfile: /data/logs/dask_cluster.log
stdout_logfile_maxbytes: 50MB
redirect_stderr: True
environment: "PRODUCTION=1"
"program:watcher":
command: /opt/conda/bin/python sentinel.py --twilight --verbose
directory: /app
user: root
autostart: true
autorestart: true
stdout_logfile: /data/logs/sentinel.log
stdout_logfile_maxbytes: 50MB
redirect_stderr: True
environment: "PRODUCTION=1"