Update app version [skip ci]
This commit is contained in:
9
apps/discussion/1.2.0/.env.sample
Normal file
9
apps/discussion/1.2.0/.env.sample
Normal 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"
|
||||
48
apps/discussion/1.2.0/data.yml
Normal file
48
apps/discussion/1.2.0/data.yml
Normal 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
|
||||
17
apps/discussion/1.2.0/docker-compose.yml
Normal file
17
apps/discussion/1.2.0/docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user