feat(baldur): setup crafty-controller completelly.
This commit is contained in:
parent
a016abced0
commit
b53b558532
@ -16,4 +16,26 @@
|
||||
"/var/lib/crafty-controller/import:/crafty/import"
|
||||
];
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [25500];
|
||||
allowedUDPPorts = [25500];
|
||||
};
|
||||
|
||||
services.traefik.dynamicConfigOptions.http = {
|
||||
services.crafty.loadBalancer.servers = [
|
||||
{
|
||||
url = "https://localhost:8443";
|
||||
}
|
||||
];
|
||||
|
||||
routers.crafty = {
|
||||
rule = "Host(`crafty.cronyakatsuki.xyz`)";
|
||||
tls = {
|
||||
certResolver = "porkbun";
|
||||
};
|
||||
service = "crafty";
|
||||
entrypoints = "websecure";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -2,6 +2,7 @@
|
||||
services.traefik = {
|
||||
enable = true;
|
||||
staticConfigOptions = {
|
||||
serversTransport.insecureSkipVerify = true;
|
||||
log = {level = "DEBUG";};
|
||||
certificatesResolvers = {
|
||||
porkbun = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user