fixing unknown command headscale (#191)

got an error running docker compose:


[+] Running 2/2
 ⠿ Container headscale-ui  Created                                                                                                   0.0s
 ⠿ Container headscale     Recreated                                                                                                 0.8s
Attaching to headscale, headscale-ui
headscale     | Error: unknown command "headscale" for "headscale"
headscale     | Run 'headscale --help' for usage.
headscale     | unknown command "headscale" for "headscale"
headscale-ui  | Starting Caddy

fixed by removing unnecessary headscale prefix before serve command
This commit is contained in:
DmitryBoiadji 2025-03-21 01:09:29 +02:00 committed by GitHub
parent 2508507644
commit b9cc07d9de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,7 +13,7 @@ services:
pull_policy: always
container_name: headscale
restart: unless-stopped
command: headscale serve
command: serve
volumes:
- ./headscale/config:/etc/headscale
- ./headscale/data:/var/lib/headscale