forked from skyportal/skyportal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_config.yaml
83 lines (71 loc) · 2.04 KB
/
test_config.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
database:
database: skyportal_test
user: skyportal
host: localhost
port: 5432
password:
server:
auth:
debug_login: True
google_oauth2_key:
google_oauth2_secret:
misc:
photometry_detection_threshold_nsigma: 3.0
minutes_to_keep_candidate_query_cache: 0.033333 # 2 seconds
allow_nonadmins_delete_objs: True
twilio:
# Twilio Sendgrid API configs
# This needs to be set to a valid, Sendgrid-registered address in config.yaml
from_email:
# This needs to be obtained via Sendgrid setup on their site
sendgrid_api_key:
# Twilio SMS API configs
# These values must be valid ones from the Twitter API console
from_number:
sms_account_sid:
sms_auth_token:
invitations:
enabled: True
days_until_expiry: 3
email_subject: "You've been invited to collaborate on SkyPortal"
email_body_preamble: | # This can include HTML tags
Welcome to <b>SkyPortal</b>!
<br />
Some other text here.
smtp:
from_email: [email protected] # This is both the email used to authenticate with smtplib and the sender address
password: password123
host: localhost # Local test server
port: 64503 # Local test server
# This value needs to be either "sendgrid" or "smtp" (without quotes)
email_service: smtp
notifications:
enabled: True
testing: true
services:
paths:
- ./baselayer/services
- ./skyportal/services
test_server:
port: 64502
smtp_port: 64503
# Reset the cache every * days
refresh_cache_days: 7
redirects:
# List of routes listened for by the test server, and the real URLs that
# requests should be redirected to. Requests will be forwarded by the
# test server, cached, and responses played back to the API as if it came
# from the real server.
/node_agent2/node_agent: http://161.72.57.3:8080 # LT
/api/requestgroups/: https://observe.lco.global # LCO
/api/triggers/ztf: http://skipper.caltech.edu:4000 # ZTF
app:
lt_host: localhost
lt_port: 64502
lco_protocol: http
lco_host: localhost
lco_port: 64502
ztf:
protocol: http
host: localhost
port: 64502