--- services: headscale: image: headscale/headscale:stable-debug # until something better comes along with wget or i make my own dockerfile... pull_policy: always restart: unless-stopped command: serve volumes: - ./config:/etc/headscale - ./data:/var/lib/headscale networks: - proxy environment: - VIRTUAL_HOST={{ headscale_host }} - VIRTUAL_PORT={{ headscale_port }} - LETSENCRYPT_HOST={{ headscale_host }} healthcheck: test: ["CMD", "wget", "-qO", "-", "http://localhost:8080/health"] interval: 10s timeout: 5s retries: 3 headscale-ui: image: ghcr.io/gurucomputing/headscale-ui:latest pull_policy: always restart: unless-stopped networks: - proxy environment: - VIRTUAL_HOST={{ headscale_host }} - VIRTUAL_PORT={{ headscale_port }} - LETSENCRYPT_HOST={{ headscale_host }} - VIRTUAL_PATH=/web/ - VIRTUAL_DEST=/ networks: proxy: external: true