mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-20 05:48:42 +00:00
update pptpd
This commit is contained in:
parent
bf905d9250
commit
a98085433e
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user