mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 13:23:02 +01:00
add openvpn-arm
This commit is contained in:
14
openvpn/arm/Dockerfile
Normal file
14
openvpn/arm/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
#
|
||||
# Dockerfile for openvpn-arm
|
||||
#
|
||||
|
||||
FROM easypi/alpine-arm
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
RUN apk add --no-cache openvpn
|
||||
|
||||
VOLUME /etc/openvpn
|
||||
WORKDIR /etc/openvpn
|
||||
|
||||
ENTRYPOINT ["openvpn"]
|
||||
CMD ["--config", "openvpn.conf"]
|
||||
9
openvpn/arm/docker-compose.yml
Normal file
9
openvpn/arm/docker-compose.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
openvpn:
|
||||
image: easypi/openvpn-arm
|
||||
command: --config pi.ovpn
|
||||
volumes:
|
||||
- ./data:/etc/openvpn
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
net: host
|
||||
restart: always
|
||||
Reference in New Issue
Block a user