This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathchaosplatform-sample.toml
74 lines (58 loc) · 1.83 KB
/
chaosplatform-sample.toml
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
[chaosplatform]
debug = false
[chaosplatform.grpc]
address = "0.0.0.0:50051"
[chaosplatform.http]
address = "0.0.0.0:8090"
secret_key = ""
[chaosplatform.http.cherrypy]
environment = "production"
proxy = "http://localhost:6080"
[chaosplatform.cache]
type = "simple"
# Only set if type is set to "redis"
# [chaosplatform.cache.redis]
# host = "localhost"
# port = 6379
[chaosplatform.db]
uri = "sqlite:///:memory"
[chaosplatform.jwt]
secret_key = ""
public_key = ""
algorithm = "HS256"
identity_claim_key = "identity"
user_claims_key = "user_claims"
access_token_expires = 2592000
refresh_token_expires = 31536000
user_claims_in_refresh_token = false
[chaosplatform.account]
[chaosplatform.auth]
[chaosplatform.auth.oauth2]
[chaosplatform.auth.oauth2.github]
client_id = ""
client_secret = ""
[chaosplatform.auth.grpc]
[chaosplatform.auth.grpc.account]
address = "0.0.0.0:50051"
[chaosplatform.experiment]
[chaosplatform.scheduling]
[chaosplatform.scheduling.grpc]
[chaosplatform.scheduling.grpc.scheduler]
address = "0.0.0.0:50051"
[chaosplatform.scheduler]
[chaosplatform.scheduler.redis]
host = "localhost"
port = 6379
queue = "chaosplatform"
[chaosplatform.scheduler.job]
platform_url = "http://127.0.0.1:6080"
[chaosplatform.scheduler.worker]
debug = false
count = 3
queue_name = "chaosplatform"
worker_name = "chaosplatform-worker"
add_random_suffix_to_worker_name = true
worker_directory = "/tmp"
[chaosplatform.scheduler.worker.redis]
host = "localhost"
port = 6379