更新 README.md
This commit is contained in:
parent
82b72e6fe6
commit
3382fe85d4
|
@ -20,14 +20,15 @@ services:
|
||||||
image: sshforwarding
|
image: sshforwarding
|
||||||
container_name: sshforwarding
|
container_name: sshforwarding
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:3307:3307"
|
- 3307:3307
|
||||||
volumes:
|
volumes:
|
||||||
- $HOME/.ssh:/root/ssh:ro
|
- .ssh:/root/.ssh
|
||||||
environment:
|
environment:
|
||||||
REMOTE_USER: 远程服务器用户名
|
REMOTE_USER: 远程服务器用户名
|
||||||
REMOTE_HOST: 远程服务器主机名
|
REMOTE_HOST: 远程服务器主机名
|
||||||
REMOTE_PORT: 远程服务器SSH端口
|
REMOTE_PORT: 远程服务器SSH端口
|
||||||
REMOTE_LISTEN_PORT: 需要转发的服务器端口
|
REMOTE_LISTEN_PORT: 需要转发的服务器端口
|
||||||
LOCAL_LISTEN_PORT: 本地监听端口
|
LOCAL_LISTEN_PORT: 本地监听端口
|
||||||
LOCAL_LISTEN_HOST: "本地监听地址"
|
LOCAL_LISTEN_HOST: 本地监听地址
|
||||||
|
restart: always
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue