2024-07-04 21:44:02 -03:00
|
|
|
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
|
2024-07-04 22:35:13 -03:00
|
|
|
hostname: headscale
|
2024-07-04 21:44:02 -03:00
|
|
|
container_name: headscale
|
|
|
|
ports:
|
|
|
|
- "8087:8080" # Connection port
|
|
|
|
- "8088:9090" # Metrics port
|
|
|
|
volumes:
|
|
|
|
- /docker/appdata/headscale/config:/etc/headscale
|
2024-07-04 22:22:54 -03:00
|
|
|
command: headscale serve
|
|
|
|
headscale-admin:
|
|
|
|
image: goodieshq/headscale-admin:latest
|
|
|
|
container_name: headscale-admin
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- "8089:80"
|