feat: add Clash/IOPaint/MongoDB Standalone/OpenCut & README
This commit is contained in:
2
src/clash/.env.example
Normal file
2
src/clash/.env.example
Normal file
@@ -0,0 +1,2 @@
|
||||
# Clash 版本
|
||||
CLASH_VERSION=1.18.0
|
||||
45
src/clash/README.md
Normal file
45
src/clash/README.md
Normal file
@@ -0,0 +1,45 @@
|
||||
# Clash
|
||||
|
||||
[English](./README.md) | [中文](./README.zh.md)
|
||||
|
||||
Clash is a rule-based tunnel in Go.
|
||||
|
||||
## Initialization
|
||||
|
||||
1. Copy the example environment file:
|
||||
|
||||
```bash
|
||||
cp .env.example .env
|
||||
```
|
||||
|
||||
2. Create your Clash configuration file `config.yaml` in the same directory.
|
||||
|
||||
3. Start the service:
|
||||
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
## Services
|
||||
|
||||
- `clash`: The Clash service.
|
||||
|
||||
## Configuration
|
||||
|
||||
- **Web Dashboard**: <http://localhost:7880>
|
||||
- **SOCKS5 Proxy**: localhost:7890
|
||||
- **HTTP Proxy**: localhost:7890
|
||||
|
||||
| Variable | Description | Default |
|
||||
| --------------- | ------------- | -------- |
|
||||
| `CLASH_VERSION` | Clash version | `1.18.0` |
|
||||
|
||||
## Security Notes
|
||||
|
||||
- Change default passwords and configurations before production use
|
||||
- Consider restricting access to the web dashboard
|
||||
- Review your proxy rules and configurations
|
||||
|
||||
## License
|
||||
|
||||
Please refer to the official Clash project for license information.
|
||||
45
src/clash/README.zh.md
Normal file
45
src/clash/README.zh.md
Normal file
@@ -0,0 +1,45 @@
|
||||
# Clash
|
||||
|
||||
[English](./README.md) | [中文](./README.zh.md)
|
||||
|
||||
Clash 是一个用 Go 编写的基于规则的隧道工具。
|
||||
|
||||
## 初始化
|
||||
|
||||
1. 复制示例环境文件:
|
||||
|
||||
```bash
|
||||
cp .env.example .env
|
||||
```
|
||||
|
||||
2. 在同一目录下创建你的 Clash 配置文件 `config.yaml`。
|
||||
|
||||
3. 启动服务:
|
||||
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
## 服务
|
||||
|
||||
- `clash`: Clash 服务。
|
||||
|
||||
## 配置
|
||||
|
||||
- **Web 仪表板**: <http://localhost:7880>
|
||||
- **SOCKS5 代理**: localhost:7890
|
||||
- **HTTP 代理**: localhost:7890
|
||||
|
||||
| 变量 | 描述 | 默认值 |
|
||||
| --------------- | ---------- | -------- |
|
||||
| `CLASH_VERSION` | Clash 版本 | `1.18.0` |
|
||||
|
||||
## 安全说明
|
||||
|
||||
- 在生产环境使用前更改默认密码和配置
|
||||
- 考虑限制对 Web 仪表板的访问
|
||||
- 检查你的代理规则和配置
|
||||
|
||||
## 许可证
|
||||
|
||||
请参考官方 Clash 项目的许可信息。
|
||||
Reference in New Issue
Block a user