feat: add headscale admin web admin (along with headplane accessible via port)
This commit is contained in:
@@ -62,6 +62,31 @@ services:
|
|||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
web:
|
||||||
|
image: goodieshq/headscale-admin:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "treafik.docker.network=proxy"
|
||||||
|
- "traefik.http.services.headscale-ui.loadbalancer.server.port=80"
|
||||||
|
|
||||||
|
# Prod Router
|
||||||
|
- "traefik.http.routers.headscale-ui.rule=Host(`hs.forust.xyz`) && PathPrefix(`/admin`)"
|
||||||
|
- "traefik.http.routers.headscale-ui.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.headscale-ui.middlewares=security-chain@file"
|
||||||
|
- "traefik.http.routers.headscale-ui.tls=true"
|
||||||
|
# Local Router
|
||||||
|
- "traefik.http.routers.headscale-ui-local.rule=Host(`hs.workstation.internal`) && PathPrefix(`/admin`)"
|
||||||
|
- "traefik.http.routers.headscale-ui-local.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.headscale-ui-local.middlewares=security-chain@file"
|
||||||
|
- "traefik.http.routers.headscale-ui-local.tls=true"
|
||||||
|
# Dev Router
|
||||||
|
- "traefik.http.routers.headscale-ui-dev.rule=Host(`hs.gigaforust.internal`) && PathPrefix(`/admin`)"
|
||||||
|
- "traefik.http.routers.headscale-ui-dev.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.headscale-ui-dev.middlewares=security-chain@file"
|
||||||
|
- "traefik.http.routers.headscale-ui-dev.tls=true"
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
volumes:
|
volumes:
|
||||||
data:
|
data:
|
||||||
headplane-data:
|
headplane-data:
|
||||||
|
|||||||
Reference in New Issue
Block a user