mirror of
https://github.com/mchlwong/derp.git
synced 2024-09-20 06:55:56 +08:00
first commit
This commit is contained in:
commit
9ff6ed07ff
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.DS_Store
|
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
|||
FROM golang:alpine AS builder
|
||||
RUN go install tailscale.com/cmd/derper@main
|
||||
|
||||
FROM alpine
|
||||
WORKDIR /app
|
||||
|
||||
ENV DERP_DOMAIN your-hostname.com
|
||||
|
||||
COPY --from=builder /go/bin/derper .
|
||||
|
||||
CMD /app/derper -hostname $DERP_DOMAIN -certmode manual -certdir /cert -stun
|
Loading…
Reference in a new issue