dependabot[bot] c20dcd15f9
Chore(deps-dev): Bump vite-plugin-pwa from 0.14.7 to 0.21.1
Bumps [vite-plugin-pwa](https://github.com/vite-pwa/vite-plugin-pwa) from 0.14.7 to 0.21.1.
- [Release notes](https://github.com/vite-pwa/vite-plugin-pwa/releases)
- [Commits](https://github.com/vite-pwa/vite-plugin-pwa/compare/v0.14.7...v0.21.1)

---
updated-dependencies:
- dependency-name: vite-plugin-pwa
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-02 02:02:35 +00:00
2024-11-27 09:37:01 +08:00
2018-09-02 02:57:09 +08:00
2021-10-01 20:12:25 +08:00
2022-05-28 09:13:08 +08:00
2021-06-11 20:23:44 +08:00
2018-09-02 02:57:09 +08:00

Clash and Dashboard

  • 这是一个基于Dreamacro/clash-dashboard修改的仓库
  • 项目用于将Dashboard管理页面直接打包进clash的docker镜像中实现一个容器同时启动Clash和Dashboard
  • 修改了后台接口部分代码使后台只会连接到同一docker容器中clash的9090端口不再需要配置即可直接管理。
  • 当然,因为去除了后台接口配置功能,所以此页面只能一对一了。

打包

npm install -g pnpm
pnpm i
pnpm build
docker build -f ./build/Dockerfile -t clash-and-dashboard:latest .

启动

docker run -d \
  --name clash \
  -v clash.yaml:/root/.config/clash/config.yaml \
  -p 8080:8080 -p 7890:7890 \
  clash-and-dashboard:latest
  • 8080为管理界面端口
  • 7890为http端口
  • 7891为socks端口
  • 注意勾选允许局域网连接

LICENSE

MIT License

Description
clash-dashboard的修改版,与clash一起打包成docker镜像
Readme MIT 5.1 MiB
Languages
TypeScript 79.8%
SCSS 19.7%
HTML 0.4%
Dockerfile 0.1%