1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-04 10:34:49 +02:00
dockerfiles/stunnel/docker-compose.yml

28 lines
476 B
YAML
Raw Normal View History

2016-07-11 07:57:48 +02:00
# In Japan
master:
2016-07-11 07:14:59 +02:00
image: vimagick/stunnel
ports:
- "4911:4911"
environment:
- CLIENT=no
- SERVICE=openvpn
- ACCEPT=0.0.0.0:4911
- CONNECT=server:1194
external_links:
- openvpn_server_1:server
restart: always
2016-07-11 07:57:48 +02:00
# In China
bridge:
image: vimagick/stunnel
ports:
- "1194:1194"
environment:
- CLIENT=yes
- SERVICE=openvpn
- ACCEPT=0.0.0.0:1194
- CONNECT=server:4911
extra_hosts:
- server:1.2.3.4
restart: always