mirror of
https://codeberg.org/polyteknisk-radiogruppe/the_prg_server_configuration.git
synced 2026-06-13 18:28:55 +02:00
Add Pelican panel configuration to Traefik
This commit is contained in:
parent
7b83f43363
commit
6cc0063dec
1 changed files with 17 additions and 1 deletions
|
|
@ -7,7 +7,7 @@
|
||||||
choose = paths: builtins.head (builtins.filter (p: builtins.pathExists p) paths);
|
choose = paths: builtins.head (builtins.filter (p: builtins.pathExists p) paths);
|
||||||
# Domain and Cloudflare DDNS records configured here. Update this list to add/remove records.
|
# Domain and Cloudflare DDNS records configured here. Update this list to add/remove records.
|
||||||
domain = "prg-radio.org";
|
domain = "prg-radio.org";
|
||||||
records = ["git" "grafana" "anubis" "wavelog" "partdb" "mail" "mailadmin" "@" "test" "minecraft"];
|
records = ["git" "grafana" "anubis" "wavelog" "pelican" "partdb" "mail" "mailadmin" "@" "test" "minecraft"];
|
||||||
recordsStr = lib.concatStringsSep " " records;
|
recordsStr = lib.concatStringsSep " " records;
|
||||||
zoneId = "9fde8d0fa53502f2d1b7e0b1d3765d49";
|
zoneId = "9fde8d0fa53502f2d1b7e0b1d3765d49";
|
||||||
envFile = "/home/traefikprg/cloudflare/cloudflare.env";
|
envFile = "/home/traefikprg/cloudflare/cloudflare.env";
|
||||||
|
|
@ -358,6 +358,14 @@ in {
|
||||||
middlewares = ["anubisForwardAuth"];
|
middlewares = ["anubisForwardAuth"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Pelican panel - exposes the Pelican panel UI
|
||||||
|
pelican = {
|
||||||
|
rule = "Host(`pelican.prg-radio.org`)";
|
||||||
|
service = "pelican";
|
||||||
|
entryPoints = ["websecure"];
|
||||||
|
tls = { certresolver = "acme"; };
|
||||||
|
};
|
||||||
|
|
||||||
# Matrix HTTP router for client requests (Element etc.)
|
# Matrix HTTP router for client requests (Element etc.)
|
||||||
matrix = {
|
matrix = {
|
||||||
rule = "Host(`lgbtq.prg-radio.org`)";
|
rule = "Host(`lgbtq.prg-radio.org`)";
|
||||||
|
|
@ -447,6 +455,14 @@ in {
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Pelican panel backend - the wavelog host exposes the container on host port 8070
|
||||||
|
pelican.loadBalancer = {
|
||||||
|
servers = [
|
||||||
|
{url = "http://10.1.1.249:8070";}
|
||||||
|
];
|
||||||
|
passHostHeader = true;
|
||||||
|
};
|
||||||
|
|
||||||
# Mail JMAP HTTP backend
|
# Mail JMAP HTTP backend
|
||||||
mail-jmap.loadBalancer = {
|
mail-jmap.loadBalancer = {
|
||||||
servers = [{url = "http://10.1.1.15:8080";}];
|
servers = [{url = "http://10.1.1.15:8080";}];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue