{"id":19150590,"url":"https://github.com/night-crawler/tailscale-sidecar","last_synced_at":"2026-05-10T05:43:20.370Z","repository":{"id":218703120,"uuid":"747142789","full_name":"night-crawler/tailscale-sidecar","owner":"night-crawler","description":"A helper docker-compose sidecar image for tailscale","archived":false,"fork":false,"pushed_at":"2024-01-23T11:08:59.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-03T18:21:53.481Z","etag":null,"topics":["docker","docker-compose","sidecar","tailscale"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/night-crawler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2024-01-23T10:56:10.000Z","updated_at":"2024-06-06T11:18:33.000Z","dependencies_parsed_at":"2024-01-23T12:00:07.476Z","dependency_job_id":null,"html_url":"https://github.com/night-crawler/tailscale-sidecar","commit_stats":null,"previous_names":["night-crawler/tailscale-sidecar"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/night-crawler%2Ftailscale-sidecar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/night-crawler%2Ftailscale-sidecar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/night-crawler%2Ftailscale-sidecar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/night-crawler%2Ftailscale-sidecar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/night-crawler","download_url":"https://codeload.github.com/night-crawler/tailscale-sidecar/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240236230,"owners_count":19769573,"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":["docker","docker-compose","sidecar","tailscale"],"created_at":"2024-11-09T08:12:24.546Z","updated_at":"2026-05-10T05:43:20.322Z","avatar_url":"https://github.com/night-crawler.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tailscale-sidecar\n\nInstalls the [Tailscale](https://tailscale.com/) client and runs it as a sidecar container in docker compose environments.\n\n## Usage\n\nLet's say you want your tailscale network to be accessible from your prometheus container.\n\nAdd the sidecar section to your `docker-compose.yaml`:\n\n```yaml\nversion: \"3\"\n\nnetworks:\n  monitoring-network:\n    external: true\n  nginx-network:\n    external: true\n\nservices:\n  sidecar:\n    image: ghcr.io/night-crawler/tailscale-sidecar:main\n    cap_add:\n      - NET_ADMIN\n    sysctls:\n     - net.ipv4.conf.all.src_valid_mark=1\n    network_mode: 'service:prometheus'\n    environment:\n      TS_AUTHKEY: \u003cyour pre-auth key here\u003e\n      TS_HOSTNAME: prometheus-sidecar\n      TS_LOGIN_SERVER: http://headscale.nginx-network:8080\n    devices:\n      - /dev/net/tun\n\n  prometheus:\n    build: ./prometheus\n    restart: unless-stopped\n    networks:\n      - monitoring-network\n      - nginx-network\n    volumes:\n      - ./data/prometheus:/prometheus\n```\n\nExec into the prometheus container and ping some internal host:\n\n```bash\ndocker compose exec prometheus bash\nping 100.64.0.3\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnight-crawler%2Ftailscale-sidecar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnight-crawler%2Ftailscale-sidecar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnight-crawler%2Ftailscale-sidecar/lists"}