mirror of
https://github.com/woodchen-ink/clash-and-dashboard.git
synced 2025-07-18 05:51:56 +08:00
Bumps [sass](https://github.com/sass/dart-sass) from 1.62.0 to 1.81.0. - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md) - [Commits](https://github.com/sass/dart-sass/compare/1.62.0...1.81.0) --- updated-dependencies: - dependency-name: sass dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
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
Languages
TypeScript
79.8%
SCSS
19.7%
HTML
0.4%
Dockerfile
0.1%