Compare commits

..

2 Commits

Author SHA1 Message Date
1c7994f752 添加 readme 2024-11-17 17:28:16 +08:00
0026d53da6 修改文件路径 2024-11-17 17:27:45 +08:00
11 changed files with 46 additions and 47 deletions

0
.gitignore vendored Normal file
View File

16
README.md Normal file
View File

@ -0,0 +1,16 @@
# HPCesia/1Panel-Apps
## 简介
我个人制作的 [1Panel](https://github.com/1Panel-dev/1Panel) 应用的仓库,由于各种原因没有 PR 到[官方仓库](https://github.com/1Panel-dev/appstore)或[第三方仓库](https://github.com/okxlin/appstore)的应用都会放到这里。
## 使用方式
下载源码到本地后将需要的应用上传到服务器的 `/opt/1panel/resource/apps/local` 目录(默认安装目录)下,或直接在服务器上使用下面的代码:
```sh
git clone https://github.com/HPCesia/1pnel-apps /opt/1panel/resource/apps/local/1pnel-apps
# git clone https://gitea.hpcesia.com/HPCesia/1pnel-apps /opt/1panel/resource/apps/local/1pnel-apps # 自建 Gitea中国大陆地区可用不稳定
cp -rf /opt/1panel/resource/apps/local/1pnel-apps/apps/* /opt/1panel/resource/apps/local/
rm -rf /opt/1panel/resource/apps/local/1pnel-apps
```

View File

@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: 9091
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: Asia/Shanghai
edit: true
envKey: TIME_ZONE
labelEn: Time zone
labelZh: 时区
required: true
type: text

View File

@ -15,9 +15,10 @@ services:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=1000
- TZ=${TIME_ZONE} - TZ=${TIME_ZONE}
- AUTHELIA_STORAGE_ENCRYPTION_KEY=${PANEL_STORAGE_ENCRYPTION_KEY} - AUTHELIA_STORAGE_ENCRYPTION_KEY_FILE=/config/secrets/STORAGE_ENCRYPTION
- AUTHELIA_SESSION_SECRET=${PANEL_SESSION_SECRET} - AUTHELIA_SESSION_SECRET_FILE=/config/secrets/SESSION_SECRET
- AUTHELIA_IDENTITY_VALIDATION_RESET_PASSWORD_JWT_SECRET=${PANEL_RESET_PWD_SECRET} - AUTHELIA_IDENTITY_VALIDATION_RESET_PASSWORD_JWT_SECRET_FILE=/config/secrets/JWT_SECRET
- AUTHELIA_IDENTITY_PROVIDERS_OIDC_HMAC_SECRET=/config/secrets/HMAC_SECRET
networks: networks:
1panel-network: 1panel-network:

9
apps/authelia/README.md Normal file
View File

@ -0,0 +1,9 @@
## 简介
Authelia 是一个开源的身份验证和授权服务器,它通过 Web 界面提供应用程序的两因素认证2FA和单点登录SSO。它作为反向代理的伴侣能够允许、拒绝或重定向请求。
更多信息请参阅[官方文档](https://www.authelia.com/)。
## 配置
安装完成后,请到应用目录的 `data` 目录下修改 `configuration.yml``users_database.yml` 修改配置。
本版本为 `lite` 版本,适用于个人轻量使用环境,不依赖其他任何服务。

View File

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

View File

@ -1,38 +0,0 @@
additionalProperties:
formFields:
- default: 9091
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: a_random_string_with_20_or_more_chars
envKey: PANEL_STORAGE_ENCRYPTION_KEY
labelEn: Storage encryption key
labelZh: 存储加密密钥
required: true
rule: paramComplexity
type: password
- default: a_random_alphanumeric_string_with_64_or_more_chars
envKey: PANEL_SESSION_SECRET
labelEn: Session password
labelZh: 会话加密密钥
required: true
rule: paramComplexity
type: password
- default: "a_random_alphanumeric_string_with_64_or_more_chars"
envKey: PANEL_RESET_PWD_SECRET
labelEn: Reset password secret
labelZh: 重置密码加密密钥
required: true
rule: paramComplexity
type: password
- default: Asia/Shanghai
edit: true
envKey: TIME_ZONE
labelEn: Time zone
labelZh: 时区
required: true
type: text

View File

@ -1,6 +0,0 @@
## 简介
Authelia 是一个开源的身份验证和授权服务器,它通过 Web 界面提供应用程序的两因素认证2FA和单点登录SSO。它作为反向代理的伴侣能够允许、拒绝或重定向请求。
有关详细信息,请访问 https://www.authelia.com/。
## 配置