services: headscale: container_name: headscale #image: headscale/headscale:latest image: headscale/headscale:0.22.0 #command: serve command: headscale serve restart: unless-stopped volumes: - ./config:/etc/headscale/ - ./data:/var/lib/headscale/ - ./run:/var/run/headscale/ networks: - nginx_proxy networks: nginx_proxy: external: true