diff --git a/docker-compose.yaml b/docker-compose.yaml index 92ea5da..a9a5709 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -4,7 +4,7 @@ services: image: sshforwarding container_name: sshforwarding ports: - - "0.0.0.0:3307:3307" + - 3307:3307 volumes: - .ssh:/root/.ssh environment: @@ -20,4 +20,5 @@ services: LOCAL_LISTEN_PORT: # 本地监听地址 LOCAL_LISTEN_HOST: - restart: always + stdin_open: true + tty: true