2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 21:33:02 +01:00

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 RUN apk add --no-cache iptables ppp pptpd
COPY pptpd.conf /etc/ COPY ./data/pptpd.conf /etc/
COPY chap-secrets /etc/ppp/ COPY ./data/chap-secrets /etc/ppp/
COPY pptpd-options /etc/ppp/ COPY ./data/pptpd-options /etc/ppp/
EXPOSE 1723 EXPOSE 1723

View File

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

View File

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