1
0

Update app version [skip ci]

This commit is contained in:
github-action update-app-version
2024-07-02 14:49:10 +00:00
parent ab4c964364
commit de8b0f8f0f
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
CONTAINER_NAME="discussion"
PANEL_APP_PORT_HTTP="40254"
PANEL_DB_HOST="postgresql"
PANEL_DB_HOST_NAME="postgresql"
PANEL_DB_NAME="discussion_123"
PANEL_DB_PORT=5432
PANEL_DB_TYPE="postgresql"
PANEL_DB_USER="discussion_123"
PANEL_DB_USER_PASSWORD="discussion_123"

View File

@@ -0,0 +1,48 @@
additionalProperties:
formFields:
- default: 40254
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- 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: discussion
envKey: PANEL_DB_NAME
labelEn: Database
labelZh: 数据库名
random: true
required: true
rule: paramCommon
type: text
- default: discussion
envKey: PANEL_DB_USER
labelEn: User
labelZh: 数据库用户
random: true
required: true
rule: paramCommon
type: text
- default: discussion
envKey: PANEL_DB_USER_PASSWORD
labelEn: Password
labelZh: 数据库用户密码
random: true
required: true
rule: paramComplexity
type: password

View File

@@ -0,0 +1,17 @@
services:
discussion:
image: "kingwrcy/discussion:1.2.0"
container_name: ${CONTAINER_NAME}
restart: always
ports:
- "${PANEL_APP_PORT_HTTP}:3000"
environment:
DATABASE_URL: "postgres://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}"
networks:
- 1panel-network
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true