Update WebSSH
This commit is contained in:
17
WebSSH
17
WebSSH
@@ -1,22 +1,13 @@
|
|||||||
#!/bin/bash
|
cat > /boot/1.YAML << 'EOF'
|
||||||
|
|
||||||
# 快速安装脚本
|
|
||||||
mkdir -p intellissh/data
|
|
||||||
cd intellissh
|
|
||||||
|
|
||||||
cat > docker-compose.yml << 'EOF'
|
|
||||||
version: '3'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
intellissh:
|
intellissh:
|
||||||
image: clusterzx/intellissh:latest
|
image: clusterzx/intellissh:latest
|
||||||
container_name: intellissh
|
container_name: intellissh
|
||||||
ports:
|
ports:
|
||||||
- 8080:3000
|
- "8080:3000"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/app/server/data
|
- ./intellissh-data:/app/server/data
|
||||||
restart: always
|
restart: always
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
docker-compose up -d
|
mkdir -p ./intellissh-data && docker compose -f /boot/1.YAML up -d
|
||||||
echo "IntelliSSH 已启动,访问 http://localhost:8080"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user