2015-07-07 13:26:33 +02:00
|
|
|
data:
|
|
|
|
image: busybox
|
|
|
|
volumes:
|
|
|
|
- /etc/openvpn
|
|
|
|
|
|
|
|
server:
|
2015-09-01 03:53:21 +02:00
|
|
|
image: vimagick/openvpn
|
|
|
|
expose:
|
|
|
|
- "1194/tcp"
|
2015-07-07 13:26:33 +02:00
|
|
|
volumes_from:
|
|
|
|
- data
|
|
|
|
cap_add:
|
|
|
|
- NET_ADMIN
|
|
|
|
restart: always
|
|
|
|
|
2015-09-03 04:55:21 +02:00
|
|
|
################################### SERVER ###################################
|
|
|
|
|
2015-09-01 03:53:21 +02:00
|
|
|
fteproxy:
|
|
|
|
image: vimagick/fteproxy
|
|
|
|
ports:
|
|
|
|
- "4911:4911"
|
|
|
|
links:
|
2016-07-10 20:05:43 +02:00
|
|
|
- server
|
2015-09-01 03:53:21 +02:00
|
|
|
environment:
|
2016-07-10 20:05:43 +02:00
|
|
|
- MODE=server
|
|
|
|
- SERVER_IP=0.0.0.0
|
|
|
|
- SERVER_PORT=4911
|
|
|
|
- PROXY_IP=server
|
|
|
|
- PROXY_PORT=1194
|
|
|
|
- KEY=66754b8113ea7a218b7613f73f7e13b1e91790216f659b5f78b903b34c654741
|
2015-09-01 03:53:21 +02:00
|
|
|
restart: always
|
2015-09-03 04:55:21 +02:00
|
|
|
|
|
|
|
################################### CLIENT ###################################
|
|
|
|
#
|
|
|
|
#fteproxy:
|
|
|
|
# image: vimagick/fteproxy
|
|
|
|
# ports:
|
|
|
|
# - "1194:1194"
|
|
|
|
# environment:
|
2016-07-10 20:05:43 +02:00
|
|
|
# - MODE=client
|
|
|
|
# - SERVER_IP=vpn.easypi.info
|
|
|
|
# - SERVER_PORT=4911
|
|
|
|
# - CLIENT_IP=0.0.0.0
|
|
|
|
# - CLIENT_PORT=1194
|
|
|
|
# - KEY=66754b8113ea7a218b7613f73f7e13b1e91790216f659b5f78b903b34c654741
|
2015-09-03 04:55:21 +02:00
|
|
|
# restart: always
|
|
|
|
#
|
|
|
|
##############################################################################
|