-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathconfig.example.yml
45 lines (45 loc) · 1.54 KB
/
config.example.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
# This is an example configuration, which can be used as a basis with the minimal settings.
# You still need to go through this and replace the placeholder values with the real ones. See
# the getting started guide (./docs/getting-started.md) for more info.
app:
port: 8080
# Put in an auto-generated value (e.g. from https://www.random.org/strings/)
sessionSecret: SOME_SECRET
sessionStore:
filename: ./db/sessions.sqlite
compressResponse: true
community:
# Fill in the values that describe your community (replacing the existing ones)
title: Whitelabel Community
discord: https://discord.gg/8EyQ5d7xjc
discord:
clientId: '000000000000'
clientSecret: client-secret-from-discord-developer-portal
redirectUrl: 'https://donate.example.com/auth/discord/callback'
bot:
token: bot-token-from-discord-developer-portal
guildId: '11111111111111'
paypal:
environment: production
clientId: client-id-from-paypal-developer-portal
clientSecret: client-secret-from-paypal-developer-portal
cftools:
applicationId: application-id-from-cftools-developer-portal
secret: application-secret-from-cftools-developer-portal
serverNames:
28d94fe2-7dc1-4508-a906-65f7a2431171: Your Awesome server name
packages:
- name: 'Whitelabel Package #1'
id: 1
price:
currency: USD
amount: '10.00'
perks:
- type: DISCORD_ROLE
roles:
# Donator
- '2222222222222222'
- type: PRIORITY_QUEUE
amountInDays: 30
cftools:
serverApiId: 28d94fe2-7dc1-4508-a906-65f7a2431171