1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-12 11:14:57 +02:00
dockerfiles/openvpn/docker-compose-kcptun.yml

23 lines
346 B
YAML
Raw Normal View History

2016-09-02 06:23:56 +02:00
openvpn:
2016-09-19 07:04:07 +02:00
image: kylemanna/openvpn
2016-09-02 06:23:56 +02:00
ports:
- "1194:1194"
volumes:
- ./data:/etc/openvpn
2015-07-07 13:26:33 +02:00
cap_add:
- NET_ADMIN
restart: always
2016-09-03 07:54:20 +02:00
kcptun:
image: vimagick/kcptun
command:
--listen :4911
--target openvpn:1194
2015-09-01 03:53:21 +02:00
ports:
2016-09-03 07:54:20 +02:00
- "4911:4911/udp"
2015-09-01 03:53:21 +02:00
links:
2016-09-02 06:23:56 +02:00
- openvpn
2015-09-01 03:53:21 +02:00
environment:
2016-09-03 07:54:20 +02:00
- KCPTUN_KEY=******
2015-09-01 03:53:21 +02:00
restart: always