Headplane + Headscale in Coolify #417
Unanswered
tmocakeling
asked this question in
Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Did anyone try this ? I already saw the TLS issue but maybe someone has a smooth solution to this setup.
Config:
services:
headplane:
image: 'ghcr.io/tale/headplane:latest'
container_name: headplane
restart: unless-stopped
ports:
- '3000:3000'
volumes:
- '/data/headplane/config.yaml:/etc/headplane/config.yaml'
- '/data/headscale/config/config.yaml:/etc/headscale/config.yaml'
- '/data/headplane/headplane-data:/var/lib/headplane'
- '/var/run/docker.sock:/var/run/docker.sock:ro'
labels:
- traefik.enable=true
- 'traefik.http.routers.headplane.rule=Host(
hs.domain.com) && PathPrefix(/admin)'- traefik.http.routers.headplane.entrypoints=websecure
- traefik.http.routers.headplane.tls=true
- traefik.http.services.headplane.loadbalancer.server.port=3000
headscale:
image: 'headscale/headscale:latest'
container_name: headscale
restart: unless-stopped
command: serve
ports:
- '8181:8181'
volumes:
- '/data/headscale/config/config.yaml:/etc/headscale/config.yaml'
- '/data/headscale/lib:/var/lib/headscale'
labels:
- me.tale.headplane.target=headscale
- traefik.enable=true
- traefik.http.routers.headscale.entrypoints=websecure
- traefik.http.routers.headscale.rule=Host(
hs.domain.com)- traefik.http.routers.headscale.service=headscale
- traefik.http.routers.headscale.tls=true
- traefik.http.services.headscale.loadbalancer.server.port=8181
I am able to connect to headscale with Talescale i see the connection coming in but as in the TLS issue when i want to login in domain.com:3000/admin after creating the api key in the headscale container there is a time out:
[auth] ERROR: Error while validating API key: DataWithResponseInit {
type: 'DataWithResponseInit',
data: 'Timed out waiting for a response from the Headscale API',
init: [Object]
}
Headplane config:
url: "https://hs.domain.com:8181"
Headscale config:
server_url: https://hs.domain.com
Headplane Version
latest
Headscale Version
latest
Beta Was this translation helpful? Give feedback.
All reactions