Headscale: Add possible tags for multi-entrypoint traefik config
This commit is contained in:
parent
311ae93432
commit
af61ee537a
1 changed files with 10 additions and 1 deletions
|
@ -14,11 +14,20 @@
|
||||||
command = "headscale serve";
|
command = "headscale serve";
|
||||||
labels = {
|
labels = {
|
||||||
"traefik.enable" = "true";
|
"traefik.enable" = "true";
|
||||||
"traefik.http.services.headscale-external.loadbalancer.server.port" = "8080";
|
|
||||||
|
"traefik.http.services.headscale.loadbalancer.server.port" = "8080";
|
||||||
|
"traefik.http.routers.headscale.service" = "headscale";
|
||||||
"traefik.http.routers.headscale.entrypoints" = "websecure-external";
|
"traefik.http.routers.headscale.entrypoints" = "websecure-external";
|
||||||
"traefik.http.routers.headscale.rule" = "Host(`headscale.ghoscht.com`)";
|
"traefik.http.routers.headscale.rule" = "Host(`headscale.ghoscht.com`)";
|
||||||
"traefik.http.routers.headscale.tls" = "true";
|
"traefik.http.routers.headscale.tls" = "true";
|
||||||
"traefik.http.routers.headscale.tls.certresolver" = "letsencrypt";
|
"traefik.http.routers.headscale.tls.certresolver" = "letsencrypt";
|
||||||
|
|
||||||
|
# "traefik.http.services.headscale-external.loadbalancer.server.port" = "8080";
|
||||||
|
# "traefik.http.routers.headscale-external.service" = "headscale-external";
|
||||||
|
# "traefik.http.routers.headscale-external.rule" = "Host(`headscale.ghoscht.com`)";
|
||||||
|
# "traefik.http.routers.headscale-external.entrypoints" = "websecure";
|
||||||
|
# "traefik.http.routers.headscale-external.tls" = "true";
|
||||||
|
# "traefik.http.routers.headscale-external.tls.certresolver" = "letsencrypt";
|
||||||
};
|
};
|
||||||
volumes = [
|
volumes = [
|
||||||
"/storage/dataset/docker/headscale/headscale_config:/etc/headscale"
|
"/storage/dataset/docker/headscale/headscale_config:/etc/headscale"
|
||||||
|
|
Loading…
Reference in a new issue