mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-01 03:20:29 +00:00
21 lines
449 B
TOML
21 lines
449 B
TOML
[volumes]
|
|
config = {}
|
|
data = {}
|
|
|
|
[services.headscale]
|
|
image = "headscale/headscale:0"
|
|
container_name = "headscale"
|
|
volumes = ["config:/etc/headscale", "data:/var/lib/headscale"]
|
|
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
|