Open gawsoftpl opened 1 month ago
Do you have any docker logs or logs of Headplane 0.1.7?
Same here. The headplane only echo API log. Nothing else.
headplane | PATCH /admin/acls?index=&_data=routes%2F_data.acls._index 200 - - 26.540 ms
headplane | GET /admin/acls?_data=routes%2F_data.acls._index 200 - - 21.351 ms
headplane | GET /admin/acls?_data=routes%2F_data 200 - - 129.300 ms
Which version and which integration?
This is the compose file that I used. Both headscale and headplane are the latest versions.
services:
headscale:
container_name: headscale
image: headscale/headscale:0.23.0-alpha12
restart: always
volumes:
- ./config-headscale:/etc/headscale
- ./data-headscale:/var/lib/headscale
entrypoint: headscale serve
caddy:
image: caddy:latest
container_name: caddy
restart: always
stdin_open: true
tty: true
volumes:
- ./data-caddy:/data
- ./config-caddy:/config
- /etc/localtime:/etc/localtime:ro
ports:
- 80:80
- 443:443
entrypoint: /usr/bin/caddy run --adapter caddyfile --config /config/Caddyfile
headplane:
container_name: headplane
image: ghcr.io/tale/headplane:latest
restart: always
volumes:
- ./config-headscale:/etc/headscale
- ./data-headscale:/var/lib/headscale
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
HEADSCALE_URL: http://headscale:8080
COOKIE_SECRET: abcdefghijklmnopqrstuvwxyz
DISABLE_API_KEY_LOGIN: true
CONFIG_FILE: /etc/headscale/config.yaml
ACL_FILE: /etc/headscale/acl_policy.hujson
HEADSCALE_INTEGRATION: docker
HEADSCALE_CONTAINER: headscale
Let me see if I can reproduce and I'll get back to you on that.
When I update acl config in headplane editor, file are saved, but headplane do not send signal SIGHUP to headscale container