mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:31 +02:00
23 lines
346 B
YAML
23 lines
346 B
YAML
openvpn:
|
|
image: kylemanna/openvpn
|
|
ports:
|
|
- "1194:1194"
|
|
volumes:
|
|
- ./data:/etc/openvpn
|
|
cap_add:
|
|
- NET_ADMIN
|
|
restart: always
|
|
|
|
kcptun:
|
|
image: vimagick/kcptun
|
|
command:
|
|
--listen :4911
|
|
--target openvpn:1194
|
|
ports:
|
|
- "4911:4911/udp"
|
|
links:
|
|
- openvpn
|
|
environment:
|
|
- KCPTUN_KEY=******
|
|
restart: always
|