name: tailscale
services:
    tailscale:
        image: tailscale/tailscale:latest
        container_name: tailscale
        restart: unless-stopped
        network_mode: host
        cap_add:
            - NET_ADMIN
            - NET_RAW
        devices:
            - /dev/net/tun:/dev/net/tun
        environment:
            TS_USERSPACE: "false"
            TS_STATE_DIR: /var/lib/tailscale
            TS_HOSTNAME: zimaos
            TS_EXTRA_ARGS: --accept-routes
        volumes:
            - /DATA/AppData/tailscale/state:/var/lib/tailscale
x-casaos:
    author: tailscale
    category: Network
    hostname: 100.113.239.44
    icon: https://cdn.jsdelivr.net/gh/selfhst/icons/svg/tailscale.svg
    index: /
    is_uncontrolled: false
    port_map: "0"
    scheme: https
    store_app_id: tailscale
    tagline:
        de_de: "Mesh-VPN für externen Zugriff"
        en_us: "Mesh VPN for external access"
    title:
        de_de: Tailscale
        en_us: Tailscale
