mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02: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
|
||||
|
||||
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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user