-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.xml
More file actions
83 lines (75 loc) · 3.15 KB
/
config.example.xml
File metadata and controls
83 lines (75 loc) · 3.15 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
<?xml version="1.0" encoding="utf-8"?>
<Kasta>
<!-- ==== 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>
<!-- PostgreSQL Connection Settings. "Name" attribute is the name of your database.
NOTE: You must already have an existing database & account created on the instance
that Kasta is using. -->
<!-- If you're using the exact same credentials in docker-compose.example.yml,
then you don't need to change anything for this section. -->
<Database Host="db" Port="5432" Name="kasta">
<Username>kasta</Username>
<Password>changeme123</Password>
</Database>
<!-- 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>
<LocalFileStorage Enabled="false" />
<!-- 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>