{"id":13548182,"url":"https://github.com/fredliang44/derper-docker","last_synced_at":"2025-10-10T10:39:46.612Z","repository":{"id":45211021,"uuid":"410234567","full_name":"fredliang44/derper-docker","owner":"fredliang44","description":"tailscale‘s selfhosted derp-server docker image","archived":false,"fork":false,"pushed_at":"2024-12-27T12:45:43.000Z","size":32,"stargazers_count":361,"open_issues_count":8,"forks_count":85,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-09T17:14:29.050Z","etag":null,"topics":["amd64","arm64","derp","derper","docker","tailscale"],"latest_commit_sha":null,"homepage":"https://tailscale.com/kb/1118/custom-derp-servers/","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fredliang44.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-25T09:50:14.000Z","updated_at":"2025-04-08T02:21:07.000Z","dependencies_parsed_at":"2024-08-01T12:15:30.934Z","dependency_job_id":"1cac82cc-cea3-4998-affd-443e23893fe8","html_url":"https://github.com/fredliang44/derper-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredliang44%2Fderper-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredliang44%2Fderper-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredliang44%2Fderper-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredliang44%2Fderper-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fredliang44","download_url":"https://codeload.github.com/fredliang44/derper-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254485065,"owners_count":22078767,"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":["amd64","arm64","derp","derper","docker","tailscale"],"created_at":"2024-08-01T12:01:06.797Z","updated_at":"2025-10-10T10:39:41.575Z","avatar_url":"https://github.com/fredliang44.png","language":"Dockerfile","funding_links":[],"categories":["Dockerfile","docker"],"sub_categories":[],"readme":"# Derper\n\n[![docker workflow](https://github.com/fredliang44/derper-docker/actions/workflows/docker-image.yml/badge.svg)](https://hub.docker.com/r/fredliang/derper)\n[![docker pulls](https://img.shields.io/docker/pulls/fredliang/derper.svg?color=brightgreen)](https://hub.docker.com/r/fredliang/derper)\n[![platfrom](https://img.shields.io/badge/platform-amd64%20%7C%20arm64-brightgreen)](https://hub.docker.com/r/fredliang/derper/tags)\n\n# Setup\n\n\u003e required: set env `DERP_DOMAIN` to your domain\n\n```bash\ndocker run -e DERP_DOMAIN=derper.your-domain.com -p 80:80 -p 443:443 -p 3478:3478/udp fredliang/derper\n```\n\n| env                    | required | description                                                                 | default value     |\n| -------------------    | -------- | ----------------------------------------------------------------------      | ----------------- |\n| DERP_DOMAIN            | true     | derper server hostname                                                      | your-hostname.com |\n| DERP_CERT_DIR          | false    | directory to store LetsEncrypt certs(if addr's port is :443)                | /app/certs        |\n| DERP_CERT_MODE         | false    | mode for getting a cert. possible options: manual, letsencrypt              | letsencrypt       |\n| DERP_ADDR              | false    | listening server address                                                    | :443              |\n| DERP_STUN              | false    | also run a STUN server                                                      | true              |\n| DERP_STUN_PORT         | false    | The UDP port on which to serve STUN.                                        | 3478              |\n| DERP_HTTP_PORT         | false    | The port on which to serve HTTP. Set to -1 to disable                       | 80                |\n| DERP_VERIFY_CLIENTS    | false    | verify clients to this DERP server through a local tailscaled instance      | false             |\n| DERP_VERIFY_CLIENT_URL | false    | if non-empty, an admission controller URL for permitting client connections | \"\"                |\n\n# Usage\n\nFully DERP setup offical documentation: https://tailscale.com/kb/1118/custom-derp-servers/\n\n## Client verification\n\nIn order to use `DERP_VERIFY_CLIENTS`, the container needs access to Tailscale's Local API, which can usually be accessed through `/var/run/tailscale/tailscaled.sock`. If you're running Tailscale bare-metal on Linux, adding this to the `docker run` command should be enough: `-v /var/run/tailscale/tailscaled.sock:/var/run/tailscale/tailscaled.sock`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffredliang44%2Fderper-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffredliang44%2Fderper-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffredliang44%2Fderper-docker/lists"}