custom-dockerfile/README.md
Nite07 05885118ff 🔧 Modify Dockerfile
📝 Add README.md
2024-05-07 01:27:10 +08:00

34 lines
606 B
Markdown

# Usage
```shell
docker run -d --name derper \
-p 80:80 -p 443:443 -p 3478:3478 \
-e DERP_DOMAIN=example.com \
-v /path/to/certs:/app/certs \
nite07/tailscale-derp-docker:latest
```
## Docker Compose
```yaml
version: "3.8"
services:
derper:
container_name: derper
ports:
- 80:80
- 443:443
- 3478:3478
environment:
- DERP_DOMAIN=example.com
volumes:
- /path/to/certs:/app/certs
image: nite07/tailscale-derp-docker:latest
```
# Env
| Name | Description |
| ----------- | ------------------ |
| DERP_DOMAIN | The domain to use. |