mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:36 +02:00
update dsvpn
This commit is contained in:
parent
bcfd60e70b
commit
827fdd8b61
@ -16,7 +16,7 @@ RUN set -xe \
|
||||
FROM alpine
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
RUN apk add --no-cache iptables
|
||||
RUN apk add --no-cache iproute2
|
||||
COPY --from=builder /usr/sbin/dsvpn /usr/sbin/
|
||||
|
||||
WORKDIR /etc/dsvpn
|
||||
@ -24,4 +24,4 @@ WORKDIR /etc/dsvpn
|
||||
EXPOSE 443
|
||||
|
||||
ENTRYPOINT ["dsvpn"]
|
||||
CMD ["server", "vpn.key"]
|
||||
CMD ["server", "vpn.key", "auto", "443"]
|
||||
|
@ -1,11 +1,10 @@
|
||||
dsvpn:
|
||||
image: vimagick/dsvpn
|
||||
command: server vpn.key auto 1959
|
||||
command: server vpn.key auto 443
|
||||
ports:
|
||||
- "1959:1959"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- ./data:/etc/dsvpn
|
||||
devices:
|
||||
- /dev/net/tun
|
||||
tty: true
|
||||
privileged: true
|
||||
restart: unless-stopped
|
||||
|
Loading…
Reference in New Issue
Block a user