chore(deps): update svhd/logto docker tag to v1.20.0 (#2122)

* chore(deps): update svhd/logto docker tag to v1.20.0

* Update app version [skip ci]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
This commit is contained in:
renovate[bot]
2024-09-14 11:27:30 +08:00
committed by GitHub
co-authored by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> github-action update-app-version
parent 461b6b968c
commit b92bbb9c97
2 changed files with 1 additions and 1 deletions
+70
View File
@@ -0,0 +1,70 @@
additionalProperties:
formFields:
- child:
default: ""
envKey: PANEL_DB_HOST
required: true
type: service
default: postgresql
envKey: PANEL_DB_TYPE
labelEn: Database Service
labelZh: 数据库服务
required: true
type: apps
values:
- label: PostgreSQL
value: postgresql
- default: logto
envKey: PANEL_DB_NAME
labelEn: Database
labelZh: 数据库名
random: true
required: true
rule: paramCommon
type: text
- default: logto
envKey: PANEL_DB_USER
labelEn: User
labelZh: 数据库用户
random: true
required: true
rule: paramCommon
type: text
- default: logto
envKey: PANEL_DB_USER_PASSWORD
labelEn: Password
labelZh: 数据库用户密码
random: true
required: true
rule: paramComplexity
type: password
- default: 3001
envKey: PANEL_APP_PORT_HTTP_LOGTO
labelEn: Logto Port
labelZh: Logto 监听的端口
required: true
rule: paramPort
type: number
- default: 3002
envKey: PANEL_APP_PORT_HTTP
labelEn: Logto Admin Port
labelZh: Logto 管理控制台端口
required: true
rule: paramPort
type: number
- default: https://logto.domain.com
edit: true
envKey: LOGTO_ENDPOINT_URL
labelEn: Logto Endpoint
labelZh: Logto 服务地址(进入网站页面添加反向代理网站,并启用 HTTPS)
required: true
rule: paramHttp
type: text
- default: https://admin.domain.com
edit: true
envKey: LOGTO_ADMIN_ENDPOINT_URL
labelEn: Logto Admin Endpoint
labelZh: Logto 管理控制台地址(进入网站页面添加反向代理网站,并启用 HTTPS)
required: true
rule: paramHttp
type: text
+20
View File
@@ -0,0 +1,20 @@
services:
logto:
container_name: ${CONTAINER_NAME}
image: svhd/logto:1.20.0
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:3002
- ${PANEL_APP_PORT_HTTP_LOGTO}:3001
entrypoint: ["sh", "-c", "npm run cli db seed -- --swe && npm start"]
environment:
- TRUST_PROXY_HEADER=1
- DB_URL=postgres://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}
- ENDPOINT=${LOGTO_ENDPOINT_URL}
- ADMIN_ENDPOINT=${LOGTO_ADMIN_ENDPOINT_URL}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true