feat:添加firefly到列表#1155

This commit is contained in:
okxlin 2024-04-12 23:08:08 +08:00
parent 8eed64caae
commit cc8e86f77e
9 changed files with 224 additions and 0 deletions

View File

@ -0,0 +1,6 @@
CONTAINER_NAME="firefly"
FIREFLY_AUTO_SSL="false"
FIREFLY_DEVICE=""
FIREFLY_PASSWORD="password_5S8Dmt"
PANEL_APP_PORT_HTTP="40215"
TIME_ZONE="Asia/Shanghai"

45
apps/firefly/2.0/data.yml Normal file
View File

@ -0,0 +1,45 @@
additionalProperties:
formFields:
- default: 40215
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "password"
edit: true
envKey: FIREFLY_PASSWORD
labelEn: Webui password
labelZh: 网页密码
random: true
required: true
rule: paramComplexity
type: password
- default: Asia/Shanghai
edit: true
envKey: TIME_ZONE
labelEn: Time zone
labelZh: 时区
required: true
type: text
- default: "false"
edit: true
envKey: FIREFLY_AUTO_SSL
labelEn: Should automatic SSL certificate acquisition be enabled? If enabled, the port needs to be set to 443.
labelZh: 是否启用自动获取 SSL 证书 (开启则需要将端口设置为 443)
required: true
type: select
values:
- label: "True"
value: "true"
- label: "False"
value: "false"
- default: ''
edit: true
envKey: FIREFLY_DEVICE
labelEn: The network interface names for inbound and outbound traffic with WireGuard
labelZh: WireGuard 出入流量网卡名称
required: false
type: text

View File

@ -0,0 +1,23 @@
version: '3'
services:
firefly:
image: "uusec/firefly:v2.0"
container_name: ${CONTAINER_NAME}
restart: always
devices:
- /dev/net/tun
network_mode: host
volumes:
- /lib/modules:/lib/modules
- ./data:/firefly/conf
cap_add:
- NET_ADMIN
- SYS_MODULE
environment:
- TZ=${TIME_ZONE}
- FIREFLY_DEVICE=${FIREFLY_DEVICE}
- FIREFLY_PASSWORD=${FIREFLY_PASSWORD}
- FIREFLY_AUTO_SSL=${FIREFLY_AUTO_SSL}
- FIREFLY_PORT=${PANEL_APP_PORT_HTTP}
labels:
createdBy: "Apps"

57
apps/firefly/README.md Normal file
View File

@ -0,0 +1,57 @@
<h1 align="center">
<br>
<img src="https://github.com/Safe3/firefly/raw/main/logo.png" alt="firefly" width="70px">
</h1>
<h4 align="center">萤火虫 WireGuard 服务器</h4>
<p align="center">
<a href="https://github.com/Safe3/firefly/releases"><img src="https://img.shields.io/github/downloads/Safe3/firefly/total">
<a href="https://github.com/Safe3/firefly/graphs/contributors"><img src="https://img.shields.io/github/contributors-anon/Safe3/firefly">
<a href="https://github.com/Safe3/firefly/releases/"><img src="https://img.shields.io/github/release/Safe3/firefly">
<a href="https://github.com/Safe3/firefly/issues"><img src="https://img.shields.io/github/issues-raw/Safe3/firefly">
<a href="https://github.com/Safe3/firefly/discussions"><img src="https://img.shields.io/github/discussions/Safe3/firefly">
</p>
<p align="center">
<a href="#特色">特色</a>
<a href="#使用">使用</a>
<a href="#感谢">感谢</a>
<a href="#联系">联系</a>
<a href="#授权">授权</a>
</p>
<p align="center">
<a href="https://github.com/Safe3/firefly/blob/main/README_EN.md">English</a>
<a href="https://github.com/Safe3/firefly/blob/main/README.md">中文</a>
</p>
---
萤火虫是一款简单、易架设的 WireGuard 服务端软件,可广泛用于异地组网、远程办公、内网穿透等场景。
## 特色
<h3 align="center">
<img src="https://github.com/Safe3/firefly/raw/main/firefly.png" alt="firefly" width="700px">
<br>
</h3>
- 提供简单、易用的web管理后台
- 支持所有 WireGuard 客户端接入
- 无需系统安装 WireGuard 组件
- 单文件、无额外库依赖
## 使用
萤火虫支持Linux x86、ARM等CPU架构环境萤火虫服务端和WireGuard客户端下载地址: https://github.com/Safe3/firefly/releases ,其中以firefly-x-x开头的是服务端包含wireguard名称的是客户端。

19
apps/firefly/data.yml Normal file
View File

@ -0,0 +1,19 @@
name: 萤火虫
tags:
- 实用工具
title: 一款简单、易架设的 WireGuard 服务端软件
description: 一款简单、易架设的 WireGuard 服务端软件
additionalProperties:
key: firefly
name: 萤火虫
tags:
- Tool
shortDescZh: 一款简单、易架设的 WireGuard 服务端软件
shortDescEn: A simple and easy to install WireGuard server software
type: tool
crossVersionUpdate: true
limit: 1
recommend: 0
website: https://fahi.uusec.com
github: https://github.com/Safe3/firefly
document: https://github.com/Safe3/firefly/blob/main/README.md

View File

@ -0,0 +1,6 @@
CONTAINER_NAME="firefly"
FIREFLY_AUTO_SSL="false"
FIREFLY_DEVICE=""
FIREFLY_PASSWORD="password_5S8Dmt"
PANEL_APP_PORT_HTTP="40215"
TIME_ZONE="Asia/Shanghai"

View File

@ -0,0 +1,45 @@
additionalProperties:
formFields:
- default: 40215
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "password"
edit: true
envKey: FIREFLY_PASSWORD
labelEn: Webui password
labelZh: 网页密码
random: true
required: true
rule: paramComplexity
type: password
- default: Asia/Shanghai
edit: true
envKey: TIME_ZONE
labelEn: Time zone
labelZh: 时区
required: true
type: text
- default: "false"
edit: true
envKey: FIREFLY_AUTO_SSL
labelEn: Should automatic SSL certificate acquisition be enabled? If enabled, the port needs to be set to 443.
labelZh: 是否启用自动获取 SSL 证书 (开启则需要将端口设置为 443)
required: true
type: select
values:
- label: "True"
value: "true"
- label: "False"
value: "false"
- default: ''
edit: true
envKey: FIREFLY_DEVICE
labelEn: The network interface names for inbound and outbound traffic with WireGuard
labelZh: WireGuard 出入流量网卡名称
required: false
type: text

View File

@ -0,0 +1,23 @@
version: '3'
services:
firefly:
image: "uusec/firefly:latest"
container_name: ${CONTAINER_NAME}
restart: always
devices:
- /dev/net/tun
network_mode: host
volumes:
- /lib/modules:/lib/modules
- ./data:/firefly/conf
cap_add:
- NET_ADMIN
- SYS_MODULE
environment:
- TZ=${TIME_ZONE}
- FIREFLY_DEVICE=${FIREFLY_DEVICE}
- FIREFLY_PASSWORD=${FIREFLY_PASSWORD}
- FIREFLY_AUTO_SSL=${FIREFLY_AUTO_SSL}
- FIREFLY_PORT=${PANEL_APP_PORT_HTTP}
labels:
createdBy: "Apps"

BIN
apps/firefly/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB