Skip to content

Commit a7cb715

Browse files
Techbot121Meta Construct
authored andcommitted
update examples, so the docker image builds
this is super annoying and there has to be a better way
1 parent a603f2d commit a7cb715

10 files changed

+97
-28
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ COPY package.json .
66
COPY yarn.lock .
77
RUN yarn install
88
COPY . .
9+
RUN for f in ./config/*.example.json; do \
10+
cp "$f" "./config/$(basename "$f" .example.json).json"; \
11+
done
912

10-
RUN yarn build
1113
RUN ./schema_gen.sh
14+
RUN yarn build
1215

1316
EXPOSE 20122
1417

config/deepl.example.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"key": ""
3+
}

config/discord.example.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,56 @@
11
{
22
"roles": {
3+
"administrator": "",
4+
"callAdmin": "",
5+
"vaccination": "",
6+
"event": "",
7+
"serverbooster": "",
8+
"elevated": "",
9+
"developer": "",
10+
"appDeveloper": "",
11+
"muted": ""
312
},
413
"channels": {
14+
"eventStage": "",
15+
"afk": "",
16+
"chat": "",
17+
"gamingVoice": "",
18+
"rules": "",
19+
"notifications": "",
20+
"muted": "",
21+
"log": "",
22+
"ingameChat": "",
23+
"relay": "",
24+
"h": "",
25+
"hBot": "",
26+
"hArt": "",
27+
"postYourStuff": "",
28+
"artChat": "",
29+
"publicCommits": "",
30+
"privateCommits": "",
31+
"mapCommits": ""
32+
},
33+
"threads": {
34+
"VR": "",
35+
"reports": "",
36+
"votekicks": "",
37+
"bans/unbans": ""
38+
},
39+
"categories": {
40+
"information": "",
41+
"voiceChat": "",
42+
"highlights": "",
43+
"artsAndCrafts": ""
544
},
645
"bot": {
46+
"roleIdentifier": "",
47+
"primaryGuildId": "",
48+
"token": "",
49+
"publicKey": "",
50+
"applicationId": "",
51+
"clientSecret": "",
52+
"userId": "",
53+
"allowedShitpostingChannels": [""],
54+
"oAuthCallbackUri": ""
755
}
856
}

config/gamebridge.example.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
{
2-
"callAdminRoleId": "",
32
"token": "",
43
"chatWebhookUrl": "",
54
"errorWebhookUrl": "",
6-
"serverInfoChannelId": "",
5+
"pacErrorWebhookUrl": "",
76
"relayChannelId": "",
7+
"serverInfoChannelId": "",
88
"notificationsChannelId": "",
9+
"reportsChannelId": "",
10+
"votekicksChannelId": "",
11+
"banUnbanChannelId": "",
12+
"callAdminRoleId": "",
913
"guildId": ""
10-
}
14+
}

config/gamebridge.servers.example.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,15 @@
33
"id": 1,
44
"ip": "",
55
"name": "",
6+
"defaultGamemode": "",
67
"label": "",
7-
"discordToken": ""
8+
"discordToken": "",
9+
"applicationID": "",
10+
"publicKey": "",
11+
"ssh": {
12+
"host": "",
13+
"port": 22,
14+
"username": ""
15+
}
816
}
917
]

config/motd.example.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"webhook": "",
33
"imgurClientId": "",
44
"imgurAlbumId": "",
5-
"imgurDeleteHash":"",
6-
"channelID":""
5+
"imgurAlbumDeleteHash":"",
6+
"channelId":""
77
}

config/resonite.example.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"username": "",
3+
"userID": "",
4+
"password": ""
5+
}

config/ssh.example.json

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
11
{
2-
"keyPath": "",
3-
"servers": [
4-
{
5-
"host": "",
6-
"port": ""
7-
},
8-
{
9-
"host": "",
10-
"port": ""
11-
},
12-
{
13-
"host": "",
14-
"port": ""
15-
}
16-
]
2+
"keyPath": ""
173
}

config/starboard.example.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
{
2-
"amount": "",
3-
"channelId": "",
4-
"emoteId": "",
2+
"amount": 10,
3+
"categoryIgnores": [""],
4+
"channelIgnores": ["", "", "", ""],
5+
"defaultEmote": "",
56
"webhookId": "",
6-
"webhookToken": ""
7-
}
7+
"webhookToken": "",
8+
"extraWebhookId": "",
9+
"extraWebhookToken": "",
10+
"artWebhookId": "",
11+
"artWebhookToken": ""
12+
}

config/webapp.example.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
{
22
"host": "",
3-
"port": 3000
3+
"port": 3000,
4+
"url": "",
5+
"webhookUrl": "",
6+
"pacWebhookUrl": "",
7+
"lookupPath": "",
8+
"cookieSecret": "",
9+
"samlSSOEntrypoint": "",
10+
"samlCert": ""
411
}

0 commit comments

Comments
 (0)