update pptpd

This commit is contained in:
kev 2018-03-15 21:31:37 +08:00
parent bf905d9250
commit a98085433e
6 changed files with 9 additions and 9 deletions

View File

@ -7,9 +7,9 @@ MAINTAINER kev <noreply@easypi.pro>
RUN apk add --no-cache iptables ppp pptpd
COPY pptpd.conf /etc/
COPY chap-secrets /etc/ppp/
COPY pptpd-options /etc/ppp/
COPY ./data/pptpd.conf /etc/
COPY ./data/chap-secrets /etc/ppp/
COPY ./data/pptpd-options /etc/ppp/
EXPOSE 1723

View File

@ -9,9 +9,9 @@ RUN apt-get update \
&& apt-get install -y iptables pptpd \
&& rm -rf /var/lib/apt/lists/*
COPY pptpd.conf /etc/
COPY chap-secrets /etc/ppp/
COPY pptpd-options /etc/ppp/
COPY ./data/pptpd.conf /etc/
COPY ./data/chap-secrets /etc/ppp/
COPY ./data/pptpd-options /etc/ppp/
EXPOSE 1723

View File

@ -3,8 +3,8 @@ pptpd:
ports:
- "1723:1723"
volumes:
- ./pptpd.conf:/etc/pptpd.conf
- ./pptpd-options:/etc/ppp/pptpd-options
- ./chap-secrets:/etc/ppp/chap-secrets
- ./data/pptpd.conf:/etc/pptpd.conf
- ./data/pptpd-options:/etc/ppp/pptpd-options
- ./data/chap-secrets:/etc/ppp/chap-secrets
privileged: true
restart: always