-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.pkl.example
More file actions
91 lines (77 loc) · 1.61 KB
/
config.pkl.example
File metadata and controls
91 lines (77 loc) · 1.61 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
import "./pkl/ModHost.pkl"
app: ModHost.AppConfig = new {
server {
host = "127.0.0.1"
port = 4000
}
postgres {
host = "127.0.0.1"
port = 5432
user = "modhost"
pass = "change me!"
database = "modhost"
}
meilisearch {
host = "localhost"
port = 7700
protocol = "http"
key = "change me!"
indexes {
projects = "projects"
}
}
auth {
github {
client_id = "change me!"
client_secret = "change me!"
}
}
storage {
s3 {
region = "change me!"
endpoint = "change me!"
access_key = "change me!"
secret_key = "change me!"
}
buckets {
projects = "projects"
gallery = "gallery"
}
}
ui {
app = "ModHost"
tagline = "Your home for game mods"
show_beta = true
show_commit = true
default_theme = "modhost"
theme_color = "#068099"
badge_base = "#191d28"
badge_secondary = "#068099"
favicon {
ico = "default"
png = "default"
}
game {
beta_name = "Beta"
}
projects {
kind = "Mods"
file_formats = List(
".zip",
".tgz",
".tar.gz",
".txz",
".tar.xz"
)
}
}
admin {
stats {
interval = 5.s
}
}
}
output {
value = app
renderer = ModHost.renderer()
}