-
Notifications
You must be signed in to change notification settings - Fork 6
/
settings.development.json
114 lines (113 loc) · 4.35 KB
/
settings.development.json
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
// STRAUTOMATOR CORE SETTINGS (DEVELOPMENT)
// Development environment settings.
{
"app": {
"title": "Strautomator (Dev)",
// Default Web port for web on development is 3000.
"port": 3000,
// Please set the app URL on your settings.secret.json file or via
// the $SMU_app_url environment variable. Webhooks will not work
// if you use localhost, as this endpoint needs to be public.
"url": "http://localhost:3000/",
// Open a tunnel with Cloudflare by default.
"tunnel": true,
// To enabled debug logs, set this to true.
"debug": false
},
"announcements": {
// Active announcements should be cached for only 30 seconds on dev.
"cacheDuration": 30
},
"calendar": {
// Calendars are cached only for only 10 minutes on dev.
"cacheDuration": 1200
},
"database": {
// If you're hosting multiple sites or services within the same Google Project,
// you might add a default suffix to Firestore collection names.
"collectionSuffix": "-dev",
// Default encryption key on development.
"crypto": {
"key": "StrautomateAndProtectWithThisKey",
"iv": "1234567890ABCDEF"
}
},
"faq": {
// On dev we cache the FAQ questions only for 1 minute on dev.
"refreshInterval": 60
},
"github": {
"api": {
// Token to be appended to the URL of GitHub webhooks, for
// extra security. Can only include alphanumeric characters.
// This SHOULD be overriden by a secret token set via secret settings
// or via the SMU_github_api_urlToken environment variable.
"urlToken": "super-secret"
}
},
"komoot": {
// Shorter Komoot cache on dev.
"cacheDuration": 60,
"maxCacheDuration": 120
},
"paddle": {
"api": {
"environment": "sandbox"
},
"ips": ["34.194.127.46", "54.234.237.108", "3.208.120.145", "44.226.236.210", "44.241.183.62", "100.20.172.113"]
},
"paypal": {
"api": {
"baseUrl": "https://api.sandbox.paypal.com/",
"mBaseUrl": "https://api-m.sandbox.paypal.com/",
"mode": "sandbox",
// Token to be appended to the URL of PayPal webhooks, for
// extra security. Can only include alphanumeric characters.
// This SHOULD be overriden by a secret token set via secret settings
// or via the SMU_paypal_api_urlToken environment variable.
"urlToken": "super-secret"
},
"billingPlan": {
// Subscription set to start 1 hours after approval while testing.
"startMinutes": 60
},
// To disable the PayPal cache in the database, set this flag to true.
"cacheDisabled": false
},
// Cloud Storage development buckets have a -dev suffix appended and are
// not available via CNAME records.
"storage": {
"buckets": {
"calendar": {"name": "bucket-calendar-dev", "ttlDays": 1},
"gdpr": {"name": "bucket-gdpr-dev", "ttlDays": 1}
},
"cname": false
},
"strava": {
"api": {
// More retricted rate limits on dev.
"maxConcurrent": 4,
"maxPerMinute": 80,
// Token to be appended to the URL of Strava webhooks, for
// extra security. Can only include alphanumeric characters.
// This SHOULD be overriden by a secret token set via secret settings
// or via the SMU_strava_api_urlToken environment variable.
"urlToken": "super-secret",
// Default verification token to be sent by Strava on subcriptions.
// This SHOULD be overriden by a secret token set via secret settings
// or via the SMU_strava_api_verifyToken environment variable.
"verifyToken": "strautotoken-for-the-winner"
},
// Shorter cache durations on dev.
"cacheDuration": {
"activities-streams": 120,
"athletes-stats": 10,
"clubs": 20,
"clubs-group-events": 20,
"routes": 20
},
// Enabling test mode will prevent activities from being written to Strava.
// They will be logged to the console instead.
"testMode": false
}
}