mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2025-02-03 09:37:58 +08:00
发布应用 Logto
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
parent
e08e7ccb3f
commit
bb74a60d3f
@ -12,16 +12,16 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- 1panel-network
|
- 1panel-network
|
||||||
ports:
|
ports:
|
||||||
- ${PANEL_APP_PORT_API}
|
- ${PANEL_APP_PORT_API}:3001
|
||||||
- ${PANEL_APP_PORT_HTTP}
|
- ${PANEL_APP_PORT_HTTP}:3002
|
||||||
entrypoint: [ "sh", "-c", "npm run cli db seed -- --swe && npm start" ]
|
entrypoint: [ "sh", "-c", "npm run cli db seed -- --swe && npm start" ]
|
||||||
env_file:
|
env_file:
|
||||||
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
- PORT=${PANEL_APP_PORT_API}
|
- PORT=3001
|
||||||
- ADMIN_PORT=${PANEL_APP_PORT_HTTP}
|
- ADMIN_PORT=3002
|
||||||
- TRUST_PROXY_HEADER=true
|
- TRUST_PROXY_HEADER=true
|
||||||
- CASE_SENSITIVE_USERNAME=true
|
- CASE_SENSITIVE_USERNAME=true
|
||||||
- DB_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_NAME}
|
- DB_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_NAME}
|
||||||
|
@ -34,6 +34,12 @@ Logto 是一个开源的身份和访问管理(IAM)平台,旨在简化客
|
|||||||
|
|
||||||
## 安装说明
|
## 安装说明
|
||||||
|
|
||||||
|
> 该应用强制使用 HTTPS 协议,因此初始化需要使用 `https` 协议。
|
||||||
|
>
|
||||||
|
> 请确保您的域名已经配置了 SSL 证书。
|
||||||
|
>
|
||||||
|
> 如有需要,请在初始化前配置反向代理,并开启 HTTPS 访问。
|
||||||
|
|
||||||
### `中央缓存 Redis` 配置
|
### `中央缓存 Redis` 配置
|
||||||
|
|
||||||
基本格式, 请根据实际情况修改, 遵循 [Redis协议](https://www.iana.org/assignments/uri-schemes/prov/rediss):
|
基本格式, 请根据实际情况修改, 遵循 [Redis协议](https://www.iana.org/assignments/uri-schemes/prov/rediss):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user