Go to file
2024-05-07 13:52:58 +08:00
.github/workflows 🔧 Modify docker.yml 2024-05-07 01:33:24 +08:00
Dockerfile 🔧 Modify Dockerfile 2024-05-07 13:52:58 +08:00
README.md 🔧 Modify Dockerfile 2024-05-07 13:52:58 +08:00

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
DERP_HTTP_PORT Sets the port for the HTTP server. 80
DERP_STUN_ENABLE Whether to enable STUN. true
DERP_STUN_PORT Sets the port for the STUN server. 3478

Volumes

Name Description
/app/certs Directory where SSL/TLS certificates are stored.

Usage

docker run -d --name derper \
  -p 80:80 -p 443:443 -p 3478:3478 \
  -e DERP_DOMAIN=example.com \
  nite07/tailscale-derp-docker:latest

Adding DERP servers to your tailnet