1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-27 09:18:43 +00:00
dockerfiles/strongswan/docker-compose.yml

19 lines
415 B
YAML
Raw Normal View History

2016-06-30 15:46:01 +00:00
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
2016-06-30 16:09:28 +00:00
- LAN_NETWORK=192.168.0.0/16
2016-06-30 15:46:01 +00:00
- VPN_P12_PASSWORD=secret
tmpfs: /run
privileged: yes
restart: always