foodotfiles/docker/headscale/docker-compose.toml

21 lines
449 B
TOML
Raw Normal View History

[volumes]
config = {}
data = {}
2023-03-09 08:28:00 +00:00
[services.headscale]
image = "headscale/headscale:0"
2023-03-09 08:28:00 +00:00
container_name = "headscale"
volumes = ["config:/etc/headscale", "data:/var/lib/headscale"]
2023-03-09 08:28:00 +00:00
ports = ["3478:3478/udp"]
command = "headscale serve"
restart = "unless-stopped"
networks = ["postgres"]
[services.headscale-ui]
image = "ghcr.io/gurucomputing/headscale-ui"
container_name = "headscale-ui"
restart = "unless-stopped"
[networks.postgres]
external = true