mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-04 10:34:49 +02:00
19 lines
415 B
YAML
19 lines
415 B
YAML
version: '2'
|
|
services:
|
|
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_NETWORK=10.20.30.0/24
|
|
- LAN_NETWORK=192.168.0.0/16
|
|
- VPN_P12_PASSWORD=secret
|
|
tmpfs: /run
|
|
privileged: yes
|
|
restart: always
|