-
Notifications
You must be signed in to change notification settings - Fork 7
/
application.yaml
223 lines (222 loc) · 5.91 KB
/
application.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
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
# SPDX-License-Identifier: ice License 1.0
development: true
logger:
encoder: console
level: info
cmd/husky:
host: localhost:4443
version: local
defaultEndpointTimeout: 30s
httpServer:
port: 4443
certPath: cmd/husky/.testdata/localhost.crt
keyPath: cmd/husky/.testdata/localhost.key
wintr/auth/ice:
jwtSecret: bogus
cmd/husky-pack:
host: localhost:5443
version: local
defaultEndpointTimeout: 30s
#tenant: sunwaves
httpServer:
port: 5443
certPath: cmd/husky-pack/.testdata/localhost.crt
keyPath: cmd/husky-pack/.testdata/localhost.key
wintr/auth/ice:
jwtSecret: bogus
cmd/husky-bark:
host: localhost:8443
version: local
defaultEndpointTimeout: 30s
httpServer:
port: 8443
certPath: cmd/husky-bark/.testdata/localhost.crt
keyPath: cmd/husky-bark/.testdata/localhost.key
wintr/auth/ice:
jwtSecret: bogus
wintr/auth/firebase:
allowEmailPassword: true
news: &news
db: &newsDatabase
urls:
- localhost:3501
user: admin
password: pass
wintr/connectors/storage/v2:
runDDL: true
primaryURL: postgresql://root:pass@localhost:5434/husky
credentials:
user: root
password: pass
replicaURLs:
- postgresql://root:pass@localhost:5434/husky
messageBroker: &newsMessageBroker
consumerGroup: husky-local-news-testing
createTopics: true
urls:
- localhost:9092
topics: &newsTopics
- name: husky-news-health-check
partitions: 1
replicationFactor: 1
retention: 1000h
- name: news-table
partitions: 10
replicationFactor: 1
retention: 1000h
- name: viewed-news
partitions: 10
replicationFactor: 1
retention: 1000h
wintr/multimedia/picture:
urlUpload: https://storage.bunnycdn.com/ice-staging/news
urlDownload: https://ice-staging.b-cdn.net/news
notifications: ¬ifications
scheduledAnnouncementsPartitionsModeEnabled: false
welcomeBonusV2Amount: 500
maxReferralsCount: 200
defaultReferralName: sunwaves
deeplinkScheme: staging.ice.app
pingCooldown: 1m
disabledAchievementsNotifications:
levels:
- l6
badges:
- s1
- c1
- l1
maxNotificationDelaySec: 60
minNotificationDelaySec: 10
notificationDelaysByTopic:
news_en_v2:
maxNotificationDelaySec: 60
minNotificationDelaySec: 20
wintr/multimedia/picture:
urlDownload: https://ice-staging.b-cdn.net
socials:
- notificationType: join_our_telegram
link: 'https://t.me/sunwavestoken'
- notificationType: follow_us_on_x
link: https://x.com/sunwaves_token
- notificationType: join_ion_on_telegram
link: 'https://t.me/iceblockchain'
- notificationType: follow_ion_on_x
link: https://x.com/ice_blockchain
weeklyStats:
weekday: 1
hour: 10
minutes: 0
development: true
db: ¬ificationsDatabase
urls:
- localhost:3501
user: admin
password: pass
wintr/connectors/storage/v2:
runDDL: true
primaryURL: postgresql://root:pass@localhost:5434/husky
credentials:
user: root
password: pass
replicaURLs:
- postgresql://root:pass@localhost:5434/husky
wintr/connectors/storage/v3:
url: redis://default:@localhost:6379
tenantName: BogusName
tokenName: BN
wintr/notifications/telegram:
botToken: bogus
telegramBots:
bogusBot:
botToken: bogus
webAppLink: https://bogus.com/startapp
webSiteUrl: https://ice.io
inviteUrl: https://t.me/share/url
messageBroker: ¬ificationsMessageBroker
consumerGroup: husky-local-notifications-testing
createTopics: true
urls:
- localhost:9092
topics: ¬ificationsMessageBrokerTopics
- name: husky-notifications-health-check
partitions: 1
replicationFactor: 1
retention: 1000h
- name: user-pings
partitions: 10
replicationFactor: 1
retention: 1000h
### The next topics are not owned by this service, but are needed to be created for the local/test environment.
- name: users-table
partitions: 10
replicationFactor: 1
retention: 1000h
- name: user-device-metadata-table
partitions: 10
replicationFactor: 1
retention: 1000h
- name: adoption-table
partitions: 10
replicationFactor: 1
retention: 1000h
- name: news-table
partitions: 10
replicationFactor: 1
retention: 1000h
- name: available-daily-bonuses
partitions: 10
replicationFactor: 1
retention: 1000h
- name: achieved-badges
partitions: 10
replicationFactor: 1
retention: 1000h
- name: completed-levels
partitions: 10
replicationFactor: 1
retention: 1000h
- name: enabled-roles
partitions: 10
replicationFactor: 1
retention: 1000h
- name: contacts-table
partitions: 10
replicationFactor: 1
retention: 1000h
consumingTopics:
- name: users-table
- name: user-device-metadata-table
- name: adoption-table
- name: news-table
- name: available-daily-bonuses
- name: user-pings
- name: achieved-badges
- name: completed-levels
- name: enabled-roles
- name: contacts-table
- name: mining-sessions-table
users:
wintr/connectors/storage/v2:
runDDL: true
primaryURL: postgresql://root:pass@localhost:5433/eskimo
credentials:
user: root
password: pass
replicaURLs:
- postgresql://root:pass@localhost:5433/eskimo
notifications_test:
<<: *notifications
messageBroker:
<<: *notificationsMessageBroker
consumingTopics: *notificationsMessageBrokerTopics
consumerGroup: husky-local-notifications-test
db:
<<: *notificationsDatabase
news_test:
<<: *news
messageBroker:
<<: *newsMessageBroker
consumingTopics: *newsTopics
consumerGroup: husky-local-news-test
db:
<<: *newsDatabase