-
Notifications
You must be signed in to change notification settings - Fork 10
/
config.schema.yml
156 lines (154 loc) · 4.41 KB
/
config.schema.yml
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
# yaml-language-server: $schema=http://json-schema.org/draft-07/schema
type: "object"
description: "Chart Cyanvas configuration. Please run `rake configure` after editing this file."
properties:
admin_handle:
oneOf:
- type: "string"
description: "Your Sonolus handle."
- type: "array"
items:
type: "string"
description: "Your Sonolus handles."
final_host:
type: "string"
description: "The host that the chart cyanvas will be hosted on."
final_port:
description: "The final port that the chart cyanvas will be hosted on."
oneOf:
- type: "null"
- type: "integer"
secret_key_base:
type: "string"
description: "Secret key base for the Rails application."
hosts:
type: "object"
description: "Hosts configuration."
properties:
frontend:
type: "string"
description: "frontend host."
backend:
type: "string"
description: "backend host."
sub_audio:
type: "string"
description: "sub-audio host."
sub_image:
type: "string"
description: "sub-image host."
sub_chart:
type: "string"
description: "sub-chart host."
s3:
type: "object"
description: "S3 configuration."
properties:
user:
type: "string"
description: "S3 user."
password:
type: "string"
description: "S3 password."
bucket:
type: "string"
description: "The name of the S3 bucket."
region:
type: "string"
description: "The region of the S3 bucket."
endpoint:
type: "string"
description: "The endpoint of the S3 bucket."
public:
type: "boolean"
description: |
Is the S3 bucket public?
If true: backend returns a public URL (s3.public_root/key)
If false: backend proxies the S3 request.
public_root:
type: "string"
description: "The public root of the S3 bucket. Not used if s3.public is false."
redis_url:
type: "string"
description: "Redis URL."
postgres:
type: "object"
description: "PostgreSQL configuration."
properties:
user:
type: "string"
description: "PostgreSQL user."
password:
type: "string"
description: "PostgreSQL password."
database:
type: "string"
description: "PostgreSQL database."
host:
type: "string"
description: "PostgreSQL host."
port:
type: "integer"
description: "PostgreSQL port."
discord:
description: "Discord configuration, null to disable."
anyOf:
- type: "null"
- type: "object"
properties:
guild_id:
type: "string"
description: "Discord guild ID."
client_id:
type: "string"
description: "Discord client ID."
client_secret:
type: "string"
description: "Discord client secret."
bot_token:
type: "string"
description: "Discord bot token."
warning_channel_id:
type: "string"
description: "Discord warning channel ID."
discord_webhook:
description: "Discord webhook configuration, null to disable."
anyOf:
- type: "null"
- type: "string"
sentry:
description: "Sentry configuration, null to disable."
anyOf:
- type: "null"
- type: "object"
properties:
dsn:
type: "object"
description: "Sentry DSN."
properties:
backend:
type: "string"
description: "Sentry backend DSN."
frontend:
type: "string"
description: "Sentry frontend DSN."
sub_audio:
type: "string"
description: "Sentry sub-audio DSN."
sub_image:
type: "string"
description: "Sentry sub-image DSN."
sub_chart:
type: "string"
description: "Sentry sub-chart DSN."
environment:
type: "string"
description: "Sentry environment."
traces_sample_rate:
type: "number"
description: "Sentry traces sample rate."
openai_key:
description: "OpenAI key, null to disable AI-powered checks."
oneOf:
- type: "null"
- type: "string"