[traefik] Moves traefik config into the repo
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
./containers/searxng.nix
|
||||
./containers/shared-postgres.nix
|
||||
./containers/synapse.nix
|
||||
./containers/traefik.nix
|
||||
];
|
||||
|
||||
# Enable common container config files in /etc/containers
|
||||
@@ -72,34 +73,6 @@
|
||||
havenisms;
|
||||
in
|
||||
{
|
||||
traefik = {
|
||||
image = "traefik";
|
||||
autoStart = true;
|
||||
cmd = [ ];
|
||||
extraOptions = [
|
||||
# Proxying Traefik itself
|
||||
"-l=traefik.enable=true"
|
||||
"-l=traefik.http.routers.traefik.rule=${localHostRuleHavenisms "proxy"}"
|
||||
"-l=traefik.http.services.traefik.loadbalancer.server.port=8080"
|
||||
"-l=homepage.group=Infra"
|
||||
"-l=homepage.name=Traefik"
|
||||
"-l=homepage.icon=traefik.svg"
|
||||
"-l=homepage.href=https://proxy.${havenisms}"
|
||||
"-l=homepage.description=Reverse proxy"
|
||||
"-l=homepage.widget.type=traefik"
|
||||
"-l=homepage.widget.url=http://traefik:8080"
|
||||
];
|
||||
ports = [
|
||||
"443:443"
|
||||
"80:80"
|
||||
];
|
||||
environmentFiles = [
|
||||
];
|
||||
volumes = [
|
||||
"/var/run/podman/podman.sock:/var/run/docker.sock:ro"
|
||||
"/tank/config/traefik:/etc/traefik"
|
||||
];
|
||||
};
|
||||
jellyfin = {
|
||||
image = "lscr.io/linuxserver/jellyfin";
|
||||
autoStart = true;
|
||||
|
||||
Reference in New Issue
Block a user