mirror of
https://github.com/okxlin/appstore.git
synced 2025-07-13 12:52:18 +08:00
feat:添加discussion到列表
This commit is contained in:
parent
5de8671844
commit
1e6deeee1c
9
apps/discussion/1.0.4/.env.sample
Normal file
9
apps/discussion/1.0.4/.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.0.4/data.yml
Normal file
48
apps/discussion/1.0.4/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.0.4/docker-compose.yml
Normal file
17
apps/discussion/1.0.4/docker-compose.yml
Normal file
@ -0,0 +1,17 @@
|
||||
services:
|
||||
discussion:
|
||||
image: "kingwrcy/discussion:1.0.4"
|
||||
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
|
17
apps/discussion/README.md
Normal file
17
apps/discussion/README.md
Normal file
@ -0,0 +1,17 @@
|
||||
# 极简论坛
|
||||
|
||||
[](https://hub.docker.com/repository/docker/kingwrcy/discussion)
|
||||
|
||||
[在线demo](https://discussion.mblog.club)
|
||||
|
||||
本项目基于Nuxt3+PostgresSQL开发而成,保持极简,所以注定功能不会过多.
|
||||
基本的功能目前都有了,欢迎pr,添加你觉得常用/有用的功能.
|
||||
|
||||
适合小范围部署自用.
|
||||
|
||||
|
||||
## 使用说明
|
||||
|
||||
- 首个注册用户为管理员用户
|
||||
|
||||
- 必须要用`https`方式才能正确登录
|
19
apps/discussion/data.yml
Normal file
19
apps/discussion/data.yml
Normal file
@ -0,0 +1,19 @@
|
||||
name: Discussion
|
||||
tags:
|
||||
- 建站
|
||||
title: 极简论坛
|
||||
description: 极简论坛
|
||||
additionalProperties:
|
||||
key: discussion
|
||||
name: Discussion
|
||||
tags:
|
||||
- WebSite
|
||||
shortDescZh: 极简论坛
|
||||
shortDescEn: Minimalist forum
|
||||
type: website
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
recommend: 0
|
||||
website: https://discussion.mblog.club
|
||||
github: https://github.com/kingwrcy/discussion
|
||||
document: https://github.com/kingwrcy/discussion
|
9
apps/discussion/latest/.env.sample
Normal file
9
apps/discussion/latest/.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/latest/data.yml
Normal file
48
apps/discussion/latest/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/latest/docker-compose.yml
Normal file
17
apps/discussion/latest/docker-compose.yml
Normal file
@ -0,0 +1,17 @@
|
||||
services:
|
||||
discussion:
|
||||
image: "kingwrcy/discussion:latest"
|
||||
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
|
BIN
apps/discussion/logo.png
Normal file
BIN
apps/discussion/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.7 KiB |
Loading…
Reference in New Issue
Block a user