fix: 更新脚本下载链接至新的路径

This commit is contained in:
2025-04-13 11:55:53 +08:00
parent 14e858fbbb
commit 39a0305d20
9 changed files with 33 additions and 33 deletions

View File

@@ -16,13 +16,13 @@ Docker 提供了一个自动配置与安装的脚本,支持 Debian、RHEL、SU
使用 curl
```bash
curl -fsSL https://git.sugarscat.cn/me/bash/-/raw/main/docker/install/install.sh | sh
curl -fsSL https://git.sugarscat.cn/me/script/-/raw/main/docker/install/install.sh | sh
```
使用 wget
```bash
wget -O- https://git.sugarscat.cn/me/bash/-/raw/main/docker/install/install.sh | sh
wget -O- https://git.sugarscat.cn/me/script/-/raw/main/docker/install/install.sh | sh
```
## Debian/Ubuntu/Raspbian
@@ -48,7 +48,7 @@ apt-get install ca-certificates curl gnupg
```bash
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://git.sugarscat.cn/me/bash/-/raw/main/docker/install/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
curl -fsSL https://git.sugarscat.cn/me/script/-/raw/main/docker/install/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/debian \
@@ -60,7 +60,7 @@ echo \
```bash
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://git.sugarscat.cn/me/bash/-/raw/main/docker/install/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
curl -fsSL https://git.sugarscat.cn/me/script/-/raw/main/docker/install/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/ubuntu \
@@ -72,7 +72,7 @@ echo \
```bash
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://git.sugarscat.cn/me/bash/-/raw/main/docker/install/raspbian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
curl -fsSL https://git.sugarscat.cn/me/script/-/raw/main/docker/install/raspbian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/raspbian \
@@ -108,7 +108,7 @@ dnf remove docker \
```bash
dnf -y install dnf-plugins-core
dnf config-manager --add-repo https://git.sugarscat.cn/me/bash/-/raw/main/docker/install/fedora/docker-ce.repo
dnf config-manager --add-repo https://git.sugarscat.cn/me/script/-/raw/main/docker/install/fedora/docker-ce.repo
sed -i 's+https://download.docker.com+https://mirrors.tuna.tsinghua.edu.cn/docker-ce+' /etc/yum.repos.d/docker-ce.repo
```
@@ -137,7 +137,7 @@ yum remove docker \
```bash
yum install -y yum-utils
yum-config-manager --add-repo https://git.sugarscat.cn/me/bash/-/raw/main/docker/install/centos/docker-ce.repo
yum-config-manager --add-repo https://git.sugarscat.cn/me/script/-/raw/main/docker/install/centos/docker-ce.repo
sed -i 's+https://download.docker.com+https://mirrors.tuna.tsinghua.edu.cn/docker-ce+' /etc/yum.repos.d/docker-ce.repo
```

View File

@@ -11,7 +11,7 @@ mkdir -p /opt/docker/clash && mkdir -p /opt/docker/clash/data && cd /opt/docker/
下载 docker-compose.yml
```bash
curl -fsSL https://git.sugarscat.cn/me/bash/-/raw/main/docker/docker-compose/clash/docker-compose.yml > docker-compose.yml
curl -fsSL https://git.sugarscat.cn/me/script/-/raw/main/docker/docker-compose/clash/docker-compose.yml > docker-compose.yml
```
启动

View File

@@ -11,13 +11,13 @@
2. 下载 `.env` 文件
```bash
curl -fsSL https://git.sugarscat.cn/me/bash/-/raw/main/docker/docker-compose/frps/.env > .env
curl -fsSL https://git.sugarscat.cn/me/script/-/raw/main/docker/docker-compose/frps/.env > .env
```
3. 下载 docker-compose.yml
```bash
curl -fsSL https://git.sugarscat.cn/me/bash/-/raw/main/docker/docker-compose/frps/docker-compose.yml > docker-compose.yml
curl -fsSL https://git.sugarscat.cn/me/script/-/raw/main/docker/docker-compose/frps/docker-compose.yml > docker-compose.yml
```
## docker-compose 部署

View File

@@ -11,7 +11,7 @@
1. 下载 docker-compose.yml
```bash
curl -fsSL https://git.sugarscat.cn/me/bash/-/raw/main/docker/docker-compose/rustdesk/docker-compose.yml > docker-compose.yml
curl -fsSL https://git.sugarscat.cn/me/script/-/raw/main/docker/docker-compose/rustdesk/docker-compose.yml > docker-compose.yml
```
## docker-compose 部署

View File

@@ -1,18 +1,18 @@
services:
rustdesk:
container_name: rustdesk
environment:
- RELAY="IP/域名":21117
- ENCRYPTED_ONLY=1
image: rustdesk/rustdesk-server-s6:latest
network_mode: bridge
ports:
- 21115:21115
- 21116:21116
- 21116:21116/udp
- 21117:21117
- 21118:21118
- 21119:21119
restart: always
volumes:
- ./data/hbbs:/data
rustdesk:
container_name: rustdesk
environment:
- RELAY="IP/域名":21117
- ENCRYPTED_ONLY=1
image: rustdesk/rustdesk-server-s6:latest
network_mode: bridge
ports:
- 21115:21115
- 21116:21116
- 21116:21116/udp
- 21117:21117
- 21118:21118
- 21119:21119
restart: always
volumes:
- ./data/hbbs:/data