services: headscale: image: headscale/headscale:latest restart: unless-stopped container_name: headscale ports: - "${IP}:${WEBPORT}:8080" - "${IP}:${VPNPORT}:9090" volumes: - ${DATA_DIR}:/etc/headscale command: serve