From b897f408f4a523f3e22e8ec56214ed530ba56fe4 Mon Sep 17 00:00:00 2001 From: xzx3344521 Date: Wed, 22 Oct 2025 11:54:18 +0800 Subject: [PATCH] Update WebSSH --- WebSSH | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/WebSSH b/WebSSH index b254d6b..ca7219e 100644 --- a/WebSSH +++ b/WebSSH @@ -1,22 +1,13 @@ -#!/bin/bash - -# 快速安装脚本 -mkdir -p intellissh/data -cd intellissh - -cat > docker-compose.yml << 'EOF' -version: '3' - +cat > /boot/1.YAML << 'EOF' services: intellissh: image: clusterzx/intellissh:latest container_name: intellissh ports: - - 8080:3000 + - "8080:3000" volumes: - - ./data:/app/server/data + - ./intellissh-data:/app/server/data restart: always EOF -docker-compose up -d -echo "IntelliSSH 已启动,访问 http://localhost:8080" +mkdir -p ./intellissh-data && docker compose -f /boot/1.YAML up -d