compose/headscale/docker-compose.yml
2024-07-04 22:35:13 -03:00

20 lines
581 B
YAML

version: "3.7"
# https://github.com/juanfont/headscale/blob/main/docs/running-headscale-container.md
services:
headscale:
image: headscale/headscale:0.22.3
restart: unless-stopped
hostname: headscale
container_name: headscale
ports:
- "8087:8080" # Connection port
- "8088:9090" # Metrics port
volumes:
- /docker/appdata/headscale/config:/etc/headscale
command: headscale serve
headscale-admin:
image: goodieshq/headscale-admin:latest
container_name: headscale-admin
restart: unless-stopped
ports:
- "8089:80"