-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.xml
More file actions
93 lines (82 loc) · 3.56 KB
/
Copy pathconfig.example.xml
File metadata and controls
93 lines (82 loc) · 3.56 KB
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
<?xml version="1.0" encoding="utf-8"?>
<Kasta>
<!-- ==== Database Configuration ==== -->
<!-- NOTE: This has changed in Kasta 0.11
Previous versions will still work, but they may stop working properly in the future! -->
<Database Provider="Postgres">
<!--
"Name" is the name of your database
NOTE: You must have an existing database & account created on the instance that Kasta is using
The Postgres element is optional if you're using the same credentials in the docker compose example file.
You just need the Provider attribute set to Postgres.
-->
<Postgres Host="db" Port="5432" Name="kasta">
<Username>kasta</Username>
<Password>changeme123</Password>
</Postgres>
</Database>
<!-- ==== External Authentication Configuration -->
<Auth>
<!-- Authentik Example. If you're not using oauth, then keep this commented out. -->
<!--
<OAuth id="authentik" DisplayName="Authentik" Enabled="true">
<ClientId>xxxxxx</ClientId>
<ClientSecret>xxxxxxx</ClientSecret>
<Endpoint>https://authentik.company/application/o/kasta/</Endpoint>
<ValidateIssuer>false</ValidateIssuer>
<Scope>email</Scope>
<Scope>openid</Scope>
<Scope>profile</Scope>
<Jwt>
<Item name="name">name</Item>
<Item name="role">roles</Item>
</Jwt>
</OAuth>
-->
</Auth>
<!-- AWS S3 Configuration.-->
<S3>
<!-- Your S3 Service URL. (make sure that ur bucket isn't in this!!) -->
<ServiceUrl>http://s3.ap-southeast-2.amazonaws.com</ServiceUrl>
<AccessKey>xxxxxxxxxxxx</AccessKey>
<AccessSecret>xxxxxxxxxx</AccessSecret>
<!-- Name of the bucket. -->
<BucketName>myreallycools3bucket</BucketName>
<!--
==== Uncomment this if you are using an S3-compatible service like Wasabi or Cloudflare R2
<ForcePathStyle>true</ForcePathStyle>
-->
</S3>
<!-- Or you can store files locally for Kasta (Directory is required when enabled!) -->
<LocalFileStorage Enabled="false" Directory="D:\cool server data\Kasta" />
<!-- Database Caching Options.
Note: If nothing is defined in the Cache element, then
an in-memory cache will be used by default. -->
<Cache>
<!-- Cache Key prefix. This shouldn't be changed. -->
<CachePrefix>EF_Kasta_</CachePrefix>
<!-- Redis-compatible server for caching -->
<Redis Enabled="false">
<EnableLogging>true</EnableLogging>
<DBConfig>
<!-- Make sure that your password and endpoint is correct!-->
<Password>mysupersecretpassword</Password>
<AllowAdmin>true</AllowAdmin>
<Endpoint Host="redis" Port="6380" />
</DBConfig>
</Redis>
</Cache>
<Kestrel>
<Limits>
<!-- Max upload size to 50 MB -->
<MaxRequestBodySize>52428800</MaxRequestBodySize>
</Limits>
</Kestrel>
<!-- URL where Kasta will be hosted on -->
<Endpoint>https://kasta.example.com</Endpoint>
<!-- Value is a TZ Identifier (see column on following wikipedia link)
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
If you're on linux, you can also do "ls /usr/share/zoneinfo/" to see
the available timezones. -->
<DefaultTimezone>UTC</DefaultTimezone>
</Kasta>