安装步骤
- 安装bbrplus
1
2apt update -y && apt install -y curl && apt install -y socat && apt install wget -y
wget -N --no-check-certificate "https://github.000060000.xyz/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh - 安装 docker + compose
1
curl -fsSL https://get.docker.com | sh
- 安装 ufw
1
apt install ufw -y
- 安装 fail2ban
1
apt-get install fail2ban -y
docker compose.yml
1 | services: |
启动前的注意事项
- 先配置Caddyfile
- Caddyfile 与 compose.yml 在同一目录
- 配置hostname
127.0.0.1 localhost