mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-29 18:21:24 +00:00
17 lines
339 B
YAML
17 lines
339 B
YAML
![]() |
strongswan:
|
||
|
image: vimagick/strongswan
|
||
|
ports:
|
||
|
- 500:500/udp
|
||
|
- 4500:4500/udp
|
||
|
volumes:
|
||
|
- /lib/modules:/lib/modules
|
||
|
- /etc/localtime:/etc/localtime
|
||
|
environment:
|
||
|
- VPN_DOMAIN=vpn.easypi.info
|
||
|
- VPN_SUBNET=10.20.30.0/24
|
||
|
- VPN_P12_PASSWORD=secret
|
||
|
cap_add:
|
||
|
- NET_ADMIN
|
||
|
privileged: yes
|
||
|
restart: always
|