version: '3.5' services: headscale: image: headscale/headscale:latest container_name: headscale volumes: - ./config:/etc/headscale - ./data:/var/lib/headscale ports: - 127.0.0.1:27896:8080 command: headscale serve restart: unless-stopped headscale-ui: image: ghcr.io/gurucomputing/headscale-ui:latest restart: unless-stopped container_name: headscale-ui ports: - 127.0.0.1:9443:443