AliMickey/photonglass · 文件 下载 ZIP
文件最后提交记录最后更新时间
README.md
以下内容由 AI 翻译,如有问题请点此提交 issue 反馈
photonglass
一款现代、简洁且具有分布式风格的镜像应用,可为网络运营商提供网络洞察功能。
功能特性
- 多设备支持:通过单个界面连接多个设备。
- 自定义命令支持:可动态构建,以支持任何自定义命令。
- 易于部署:极其方便地部署,并可随设备数量增加而扩展。
- Webhook 日志记录:可将查询记录发送到 webhook 频道(可选)。
Setup (Docker)
- Clone repository
git clone https://github.com/AliMickey/photonglass.git
- Create an instance folder to store your config and logos/favicon
cd photonglassmkdir instancemkdir instance/images# Optionalmkdir instance/ssh-keys# Optional
- Upload logos/favicon and create
docker-compose.yml- Refer to CONFIGURATION.md
- Build and deploy the container (inital build may take a minute)
docker compose up -d --build
- Edit the config files created in
instanceon first start, then restart the container- Refer to CONFIGURATION.md
- View the app at
http://IP_ADDRESS:5000, recommend using a reverse proxy (traefik) for production use.
致谢
在部署 hyperglass] 时遇到困难,且该工具的功能对我来说过于强大,这才促使我开发了这个项目。本项目并非旨在作为 hyperglass 的 1:1 替代品,因此在设计上保持了简洁性。在发布时,仅测试了 Linux 服务器作为目标设备,且使用了与 hyperglass 相同的设备库(netmiko),因此应能与更多设备兼容,不过请注意这些功能尚未经过测试。
