2f85ef7c96c6b78b1a1286212d5a65b0f6cf5fa6
Environment Variables
| Name | Description | Default Value |
|---|---|---|
| DERP_HOSTNAME | Specifies the domain for the DERP server. | example.com |
| DERP_CERTMODE | Determines the SSL/TLS certificate management mode. Options: manual, letsencrypt |
letsencrypt |
| DERP_ADDR | Sets the server address and port to bind to. | :443 |
| DERP_VERIFY_CLIENTS | Whether to verify clients connecting to the DERP server. reference | false |
Volumes
| Name | Description |
|---|---|
| /app/certs | Directory where SSL/TLS certificates are stored. |
Usage
Running Directly with SSL/TLS
docker run -d --name derper \
-p 443:443 -p 3478:3478 \
-e DERP_DOMAIN=example.com \
-e DERP_CERTMODE=manual \
-v /path/to/certs:/app/certs \
nite07/tailscale-derp-docker:latest
Running Behind a Reverse Proxy
docker run -d --name derper \
-p 8080:80 -p 3478:3478 \
-e DERP_DOMAIN=example.com \
-e DERP_ADDR=:80 \
nite07/tailscale-derp-docker:latest
Adding DERP servers to your tailnet
Description
Languages
Shell
56.4%
Dockerfile
43.6%