REMOTE_SRV
set the remote server to connect toREMOTE_PORT
set the listenning port on remote serverLOCAL_PORT
set the local listenning port to bind
tunnel:
image: daocloud.io/quiz42/dao-tunnel
environment:
- SSH_SRV=quiz@devop.heartleaves.com
- SSH_PORT=2222
- REMOTE_PORT=8070
- LOCAL_PORT=8070
volumes:
- /etc/ssh/dao/password.txt:/root/.ssh/password.txt
net: host