修改文件路径

This commit is contained in:
HPCesia 2024-11-17 17:27:45 +08:00
parent cd0b432d7a
commit 0026d53da6
9 changed files with 30 additions and 47 deletions

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
- PGID=1000
- TZ=${TIME_ZONE}
- 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}
- 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
networks:
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/。
## 配置