Compare commits
No commits in common. "1c7994f752ef1881577995fca251467e119f9aa9" and "cd0b432d7a5b269f975e082f6d231629e42908c7" have entirely different histories.
1c7994f752
...
cd0b432d7a
0
.gitignore
vendored
0
.gitignore
vendored
16
README.md
16
README.md
@ -1,16 +0,0 @@
|
||||
# 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
|
||||
```
|
@ -1,17 +0,0 @@
|
||||
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
|
@ -1,9 +0,0 @@
|
||||
## 简介
|
||||
Authelia 是一个开源的身份验证和授权服务器,它通过 Web 界面提供应用程序的两因素认证(2FA)和单点登录(SSO)。它作为反向代理的伴侣,能够允许、拒绝或重定向请求。
|
||||
|
||||
更多信息请参阅[官方文档](https://www.authelia.com/)。
|
||||
|
||||
## 配置
|
||||
安装完成后,请到应用目录的 `data` 目录下修改 `configuration.yml` 与 `users_database.yml` 修改配置。
|
||||
|
||||
本版本为 `lite` 版本,适用于个人轻量使用环境,不依赖其他任何服务。
|
38
authelia/4.38.17-lite/data.yml
Normal file
38
authelia/4.38.17-lite/data.yml
Normal file
@ -0,0 +1,38 @@
|
||||
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
|
@ -15,10 +15,9 @@ services:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=${TIME_ZONE}
|
||||
- AUTHELIA_STORAGE_ENCRYPTION_KEY_FILE=/config/secrets/STORAGE_ENCRYPTION
|
||||
- AUTHELIA_SESSION_SECRET_FILE=/config/secrets/SESSION_SECRET
|
||||
- AUTHELIA_IDENTITY_VALIDATION_RESET_PASSWORD_JWT_SECRET_FILE=/config/secrets/JWT_SECRET
|
||||
- AUTHELIA_IDENTITY_PROVIDERS_OIDC_HMAC_SECRET=/config/secrets/HMAC_SECRET
|
||||
- AUTHELIA_STORAGE_ENCRYPTION_KEY=${PANEL_STORAGE_ENCRYPTION_KEY}
|
||||
- AUTHELIA_SESSION_SECRET=${PANEL_SESSION_SECRET}
|
||||
- AUTHELIA_IDENTITY_VALIDATION_RESET_PASSWORD_JWT_SECRET=${PANEL_RESET_PWD_SECRET}
|
||||
|
||||
networks:
|
||||
1panel-network:
|
6
authelia/README.md
Normal file
6
authelia/README.md
Normal file
@ -0,0 +1,6 @@
|
||||
## 简介
|
||||
Authelia 是一个开源的身份验证和授权服务器,它通过 Web 界面提供应用程序的两因素认证(2FA)和单点登录(SSO)。它作为反向代理的伴侣,能够允许、拒绝或重定向请求。
|
||||
|
||||
有关详细信息,请访问 https://www.authelia.com/。
|
||||
|
||||
## 配置
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
Loading…
Reference in New Issue
Block a user