docker-vm-compose/headscale/compose.yml

21 lines
564 B
YAML

services:
headscale:
image: headscale/headscale:v0.23.0-beta1
restart: unless-stopped
container_name: headscale
ports:
- "0.0.0.0:8080:8080"
- "0.0.0.0:9090:9090"
volumes:
# pls change [config_path] to the fullpath of the config folder just created
- ./config:/etc/headscale
- ./lib:/var/lib
- ./run:/var/run
command: serve # headscale server
headscale-ui:
image: ghcr.io/gurucomputing/headscale-ui:latest
restart: unless-stopped
container_name: headscale-ui
ports:
- 9443:443