-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappsettings.yml
52 lines (43 loc) · 1.86 KB
/
appsettings.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
46
47
48
49
50
51
52
Serilog:
Using: [ "Serilog.Sinks.Console", "Serilog.Sinks.Loki" ]
MinimumLevel:
Default: Information
Override:
SS14: Information
Microsoft: "Warning"
Microsoft.Hosting.Lifetime: "Information"
Microsoft.AspNetCore: Warning
WriteTo:
- Name: Console
Args:
OutputTemplate: "[{Timestamp:HH:mm:ss} {Level:u3} {SourceContext}] {Message:lj}{NewLine}{Exception}"
Enrich: [ "FromLogContext" ]
# Uncomment to have watchdog log to Loki
#Loki:
# Address: "{{ loki_addr }}"
# Name: "{{ server_id }}"
# Username: "{{ loki_user }}"
# password: "{{ loki_pass }}"
AllowedHosts: "*"
Notification:
DiscordWebhook: "https://discord.com/api/webhooks/1247255603722715199/nZni9gKSKhWhAxfUQQFpDFtYp1pi1xWiO1h3IenKi3MurYB-ZF3OtnHPbweT7NyTiJmt" #webhook for almost userless watchdog failure shit
# API URL that your watchdog is accessible from.
# This HAS to be set so the game servers can communicate with the watchdog.
# If you don't want the watchdog to be publically accessible, do `http://localhost:5000/` here.
BaseUrl: "http://localhost:5000/"
Servers:
Instances:
# ID of your server.
network:
# Name of the server
Name: "NetWork"
ApiToken: "ShutYourMouth" # API token to control this instance remotely like run updates, restart server.
ApiPort: 1212 # API port OF THE GAME SERVER. This has to match the 1212 HTTP status API (described below). Otherwise the watchdog can't contact the game server for stuff.
# Auto update configuration. This can be left out if you do not need auto updates. Example is for our officially hosted builds.
# See above for alternatives.
UpdateType: "Git"
Updates:
BaseUrl: "https://github.com/space-syndicate/space-station-14"
Branch: "master"
HybridACZ: true
# Any environment variables you may want to specify.