{"id":16129467,"url":"https://github.com/klutchell/balena-tailscale","last_synced_at":"2025-03-18T14:30:43.956Z","repository":{"id":62278677,"uuid":"510137909","full_name":"klutchell/balena-tailscale","owner":"klutchell","description":"Run a Tailscale subnet router on balena!","archived":false,"fork":false,"pushed_at":"2025-03-10T04:13:08.000Z","size":220,"stargazers_count":7,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-14T20:55:10.516Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/klutchell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-03T21:20:35.000Z","updated_at":"2025-03-10T04:12:51.000Z","dependencies_parsed_at":"2023-10-05T04:35:59.229Z","dependency_job_id":"746470e7-e63e-49b8-b321-109f87c99ca4","html_url":"https://github.com/klutchell/balena-tailscale","commit_stats":null,"previous_names":[],"tags_count":161,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klutchell%2Fbalena-tailscale","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klutchell%2Fbalena-tailscale/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klutchell%2Fbalena-tailscale/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klutchell%2Fbalena-tailscale/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klutchell","download_url":"https://codeload.github.com/klutchell/balena-tailscale/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243933413,"owners_count":20370987,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-09T22:10:56.006Z","updated_at":"2025-03-18T14:30:43.650Z","avatar_url":"https://github.com/klutchell.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# balena-tailscale\n\nAdd your device to your [Tailscale](https://tailscale.com/) network with this block!\n\n## Usage\n\nTo use this block, add a service in your `docker-compose.yml` file as shown below.\n\n```yml\nvolumes:\n  ...\n  state: {}\n\nservices:\n  ...\n  tailscale:\n    # where \u003carch\u003e is one of aarch64, armv7hf or amd64\n    image: bh.cr/klutchell_blocks/tailscale-\u003carch\u003e\n    network_mode: host\n    restart: on-failure\n    volumes:\n      - state:/var/lib/tailscale\n    labels:\n      - io.balena.features.kernel-modules=1\n    cap_add:\n      - net_admin\n      - net_raw\n      - sys_module\n    tmpfs:\n      - /tmp\n      - /var/run/\n```\n\nTo pin to a specific version of this block use:\n\n```yml\nservices:\n  ...\n  tailscale:\n    # where \u003cversion\u003e is the release semver or release commit ID\n    image: bh.cr/klutchell_blocks/tailscale-\u003carch\u003e/\u003cversion\u003e\n    network_mode: host\n    restart: on-failure\n    volumes:\n      - state:/var/lib/tailscale\n    labels:\n      - io.balena.features.kernel-modules=1\n    cap_add:\n      - net_admin\n      - net_raw\n      - sys_module\n    tmpfs:\n      - /tmp\n      - /var/run/\n```\n\n## Customization\n\n### Environment Variables\n\nThe supported environment variables are listed on the [official DockerHub repo](https://hub.docker.com/r/tailscale/tailscale).\n\n- `TS_AUTH_KEY`: The [authkey]((https://tailscale.com/kb/1085/auth-keys/)) to use for login.\n- `TS_KUBE_SECRET`: The name of the Kubernetes secret in which to store tailscaled state.\n- `TS_DEST_IP`: Proxy all incoming Tailscale traffic to the given destination.\n- `TS_ROUTES`: Subnet routes to advertise.\n- `TS_ACCEPT_DNS`: Whether to use the tailnet's DNS configuration.\n- `TS_SOCKET`: The path where the tailscaled LocalAPI socket should be created.\n- `TS_EXTRA_ARGS`: Extra arguments to 'tailscale up'.\n- `TS_USERSPACE`: Run with userspace networking (the default) instead of kernel networking.\n- `TS_STATE_DIR`: The directory in which to store tailscaled state. The data should persist across container restarts.\n- `TS_SOCKS5_SERVER`: The address on which to listen for SOCKS5 proxying into the tailnet.\n- `TS_OUTBOUND_HTTP_PROXY_LISTEN`: The address on which to listen for HTTP proxying into the tailnet.\n- `TS_TAILSCALED_EXTRA_ARGS`: Extra arguments to 'tailscaled'.\n\nFor reference, see also the [documentation on Tailscale CLI commands](https://tailscale.com/kb/1080/cli/).\n\n## Contributing\n\nPlease open an issue or submit a pull request with any features, fixes, or changes.\n\n## Acknowledgements\n\n[Tailscale](https://tailscale.com/) is primarily developed by the\npeople at \u003chttps://github.com/orgs/tailscale/people\u003e.\nFor other contributors, see:\n\n- \u003chttps://github.com/tailscale/tailscale/graphs/contributors\u003e\n- \u003chttps://github.com/tailscale/tailscale-android/graphs/contributors\u003e\n\nThese related projects were also used for reference:\n\n- \u003chttps://github.com/klutchell/balena-wireguard\u003e\n- \u003chttps://github.com/kazazes/balena-tailscale\u003e\n- \u003chttps://github.com/hslatman/tailscale-balena-rpi\u003e\n\n## Legal\n\nWireGuard is a registered trademark of Jason A. Donenfeld.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklutchell%2Fbalena-tailscale","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklutchell%2Fbalena-tailscale","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklutchell%2Fbalena-tailscale/lists"}