Processed apps directory via GitHub Actions

This commit is contained in:
QYG2297248353
2024-11-28 09:03:16 +00:00
parent cf0ad6f3aa
commit ae306323d9
1857 changed files with 56700 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
# 数据持久化路径 [必填]
WATCHYOURLAN_ROOT_PATH=/home/watchyourlan
# 访问端口 [必填]
PANEL_APP_PORT_HTTP=8840
# 主题 [必填]
THEME=sand
# 颜色 [必填]
COLOR=dark
# 通知地址
SHOUTRRR_URL=
# 监听网卡 (多个用逗号分隔) [必填]
IFACES=enp2s0
# 超时时间 (秒) [必填]
TIMEOUT=120
# 历史记录保留失效 (小时) [必填]
TRIM_HIST=48
# 历史记录存储方式 [必填]
HIST_IN_DB=false
# 数据存储方式 [必填]
USE_DB=sqlite
# PostgreSQL 连接地址
PG_CONNECT=
+108
View File
@@ -0,0 +1,108 @@
additionalProperties:
formFields:
- default: "/home/watchyourlan"
edit: true
envKey: WATCHYOURLAN_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 8840
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: 访问端口
labelEn: Port
required: true
rule: paramPort
type: number
- default: "sand"
edit: true
envKey: THEME
labelZh: 主题
labelEn: Theme
required: true
type: select
values:
- label: Sand
value: "sand"
- label: Emerald
value: "emerald"
- label: Grass
value: "grass"
- label: Grayscale
value: "grayscale"
- label: Ocean
value: "ocean"
- label: Wood
value: "wood"
- default: "dark"
edit: true
envKey: COLOR
labelZh: 颜色
labelEn: Color
required: true
type: select
values:
- label: 浅色
value: "light"
- label: 深色
value: "dark"
- default: ""
edit: true
envKey: SHOUTRRR_URL
labelZh: 通知地址
labelEn: Notification URL
required: false
type: text
- default: "enp2s0"
edit: true
envKey: IFACES
labelZh: 监听网卡 (多个用逗号分隔)
labelEn: Listening network card (separated by commas)
required: true
type: text
- default: 120
edit: true
envKey: TIMEOUT
labelZh: 超时时间 (秒)
labelEn: Timeout (seconds)
required: true
type: number
- default: 48
edit: true
envKey: TRIM_HIST
labelZh: 历史记录保留失效 (小时)
labelEn: Historical record retention invalid (hours)
required: true
type: number
- default: "false"
edit: true
envKey: HIST_IN_DB
labelZh: 历史记录存储方式
labelEn: Historical record storage method
required: true
type: select
values:
- label: 内存存储
value: "false"
- label: 数据库存储
value: "true"
- default: "sqlite"
edit: true
envKey: USE_DB
labelZh: 数据存储方式
labelEn: Data storage method
required: true
type: select
values:
- label: SQLite
value: "sqlite"
- label: PostgreSQL
value: "postgres"
- default: ""
edit: true
envKey: PG_CONNECT
labelZh: PostgreSQL 连接地址
labelEn: PostgreSQL connection address
required: false
type: text
@@ -0,0 +1,22 @@
networks:
1panel-network:
external: true
services:
watchyourlan:
container_name: watchyourlan
env_file:
- ./envs/global.env
- .env
environment:
- HOST=0.0.0.0
- PORT=8840
- LOG_LEVEL=info
image: aceberg/watchyourlan:2.0.4
labels:
createdBy: Apps
network_mode: host
ports:
- ${PANEL_APP_PORT_HTTP}:8840
restart: always
volumes:
- ${WATCHYOURLAN_ROOT_PATH}/data:/data/WatchYourLAN
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai
@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
+20
View File
@@ -0,0 +1,20 @@
# 路由设备监控
轻量级网络 IP 扫描器。可用于通知新主机并监控主机在线/离线历史
![路由设备监控](https://file.lifebus.top/imgs/watchyourlan_cover.png)
![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue)
## 简介
轻量级网络 IP 扫描器,带有 Web GUI。特性: Translation:
+ 发现新主机时发送通知
+ 监控主机在线/离线历史
+ 保持网络中所有主机的列表
+ 将数据发送到 InfluxDB2 以创建 Grafana 仪表板
---
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)
+15
View File
@@ -0,0 +1,15 @@
additionalProperties:
key: watchyourlan
name: 路由设备监控
tags:
- WebSite
- Middleware
- Local
shortDescZh: 轻量级网络 IP 扫描器
shortDescEn: Lightweight network IP scanner
type: website
crossVersionUpdate: true
limit: 0
website: https://github.com/aceberg/WatchYourLAN/
github: https://github.com/aceberg/WatchYourLAN/
document: https://github.com/aceberg/WatchYourLAN/
Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB