diff --git a/apps/minichat/0.0.9/.env.sample b/apps/minichat/0.0.9/.env.sample new file mode 100644 index 00000000..810c5f06 --- /dev/null +++ b/apps/minichat/0.0.9/.env.sample @@ -0,0 +1,4 @@ +CONFIG_PATH="./data/config.yaml" +CONTAINER_NAME="minichat" +PANEL_APP_PORT_HTTP=40276 +TEMPLATE_NAME="bulma" diff --git a/apps/minichat/0.0.9/data.yml b/apps/minichat/0.0.9/data.yml new file mode 100644 index 00000000..3565967f --- /dev/null +++ b/apps/minichat/0.0.9/data.yml @@ -0,0 +1,24 @@ +additionalProperties: + formFields: + - default: "40276" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "./data/config.yaml" + disabled: true + envKey: CONFIG_PATH + labelEn: Configuration Path + labelZh: 配置路径 + required: true + type: text + - default: "bulma" + edit: true + envKey: TEMPLATE_NAME + labelEn: Template Name + labelZh: 模板名称 + required: true + type: text diff --git a/apps/minichat/0.0.9/data/config.yaml b/apps/minichat/0.0.9/data/config.yaml new file mode 100644 index 00000000..69b1552d --- /dev/null +++ b/apps/minichat/0.0.9/data/config.yaml @@ -0,0 +1,2 @@ +port: 8080 +server_url: "" # 此处为html页面去请求服务器的地址,例子:8.8.8.8:8080 或 abc.com 或 abc.com:8080 \ No newline at end of file diff --git a/apps/minichat/0.0.9/docker-compose.yml b/apps/minichat/0.0.9/docker-compose.yml new file mode 100644 index 00000000..47c73f85 --- /dev/null +++ b/apps/minichat/0.0.9/docker-compose.yml @@ -0,0 +1,19 @@ +services: + minichat: + image: "okhanyu/minichat:0.0.9" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:8080" + volumes: + - "${CONFIG_PATH}:/app/config.yaml" + environment: + - TEMPLATE_NAME=${TEMPLATE_NAME} + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/minichat/README.md b/apps/minichat/README.md new file mode 100644 index 00000000..fc2d8a7d --- /dev/null +++ b/apps/minichat/README.md @@ -0,0 +1,3 @@ +# Minichat + +Minichat 是一款Go语言实现的极简、极轻、无痕匿名聊天工具, \ No newline at end of file diff --git a/apps/minichat/data.yml b/apps/minichat/data.yml new file mode 100644 index 00000000..a9ccdb18 --- /dev/null +++ b/apps/minichat/data.yml @@ -0,0 +1,19 @@ +name: Minichat +tags: + - 建站 +title: 极简聊天应用 +description: 极简聊天应用 +additionalProperties: + key: minichat + name: Minichat + tags: + - WebSite + shortDescZh: 极简聊天应用 + shortDescEn: Minimalist chat application + type: website + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://minichat.seeyou.me + github: https://github.com/okhanyu/minichat + document: https://github.com/okhanyu/minichat diff --git a/apps/minichat/latest/.env.sample b/apps/minichat/latest/.env.sample new file mode 100644 index 00000000..810c5f06 --- /dev/null +++ b/apps/minichat/latest/.env.sample @@ -0,0 +1,4 @@ +CONFIG_PATH="./data/config.yaml" +CONTAINER_NAME="minichat" +PANEL_APP_PORT_HTTP=40276 +TEMPLATE_NAME="bulma" diff --git a/apps/minichat/latest/data.yml b/apps/minichat/latest/data.yml new file mode 100644 index 00000000..3565967f --- /dev/null +++ b/apps/minichat/latest/data.yml @@ -0,0 +1,24 @@ +additionalProperties: + formFields: + - default: "40276" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "./data/config.yaml" + disabled: true + envKey: CONFIG_PATH + labelEn: Configuration Path + labelZh: 配置路径 + required: true + type: text + - default: "bulma" + edit: true + envKey: TEMPLATE_NAME + labelEn: Template Name + labelZh: 模板名称 + required: true + type: text diff --git a/apps/minichat/latest/data/config.yaml b/apps/minichat/latest/data/config.yaml new file mode 100644 index 00000000..69b1552d --- /dev/null +++ b/apps/minichat/latest/data/config.yaml @@ -0,0 +1,2 @@ +port: 8080 +server_url: "" # 此处为html页面去请求服务器的地址,例子:8.8.8.8:8080 或 abc.com 或 abc.com:8080 \ No newline at end of file diff --git a/apps/minichat/latest/docker-compose.yml b/apps/minichat/latest/docker-compose.yml new file mode 100644 index 00000000..4f17b33f --- /dev/null +++ b/apps/minichat/latest/docker-compose.yml @@ -0,0 +1,19 @@ +services: + minichat: + image: "okhanyu/minichat:latest" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:8080" + volumes: + - "${CONFIG_PATH}:/app/config.yaml" + environment: + - TEMPLATE_NAME=${TEMPLATE_NAME} + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/minichat/logo.png b/apps/minichat/logo.png new file mode 100644 index 00000000..9cec3e62 Binary files /dev/null and b/apps/minichat/logo.png differ