更新 docker-compose.yaml

update
This commit is contained in:
wangzixiang 2024-06-04 18:01:24 +08:00
parent e455828ad2
commit 7b142111ff
1 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@ services:
image: sshforwarding image: sshforwarding
container_name: sshforwarding container_name: sshforwarding
ports: ports:
- "0.0.0.0:3307:3307" - 3307:3307
volumes: volumes:
- .ssh:/root/.ssh - .ssh:/root/.ssh
environment: environment:
@ -20,4 +20,5 @@ services:
LOCAL_LISTEN_PORT: LOCAL_LISTEN_PORT:
# 本地监听地址 # 本地监听地址
LOCAL_LISTEN_HOST: LOCAL_LISTEN_HOST:
restart: always stdin_open: true
tty: true