server-dotfiles/headscale/docker-compose.yml

23 lines
464 B
YAML
Raw Normal View History

services:
headscale:
image: headscale/headscale:0.22.3
restart: unless-stopped
container_name: headscale
volumes:
- /srv/docker/headscale/data:/var/lib/headscale
- /srv/docker/headscale/config:/etc/headscale
command: headscale serve
networks:
- proxy
env_file:
- env-vpn
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
networks:
proxy:
external: true