diff --git a/apps/moments1/0.0.7/.env.sample b/apps/moments1/0.0.7/.env.sample new file mode 100644 index 00000000..217f4dbc --- /dev/null +++ b/apps/moments1/0.0.7/.env.sample @@ -0,0 +1,3 @@ +CONTAINER_NAME="moments" +PANEL_APP_PORT_HTTP="40217" +DATA_PATH="./data" diff --git a/apps/moments1/0.0.7/data.yml b/apps/moments1/0.0.7/data.yml new file mode 100644 index 00000000..7e52d41f --- /dev/null +++ b/apps/moments1/0.0.7/data.yml @@ -0,0 +1,17 @@ +additionalProperties: + formFields: + - default: 40217 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: ./data + edit: true + envKey: DATA_PATH + labelEn: Data folder path + labelZh: 数据文件夹路径 + required: true + type: text diff --git a/apps/moments1/0.0.7/docker-compose.yml b/apps/moments1/0.0.7/docker-compose.yml new file mode 100644 index 00000000..bbb107b6 --- /dev/null +++ b/apps/moments1/0.0.7/docker-compose.yml @@ -0,0 +1,20 @@ +version: '3' +services: + moments1: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:3000" + volumes: + - "${DATA_PATH}:/app/data" + - /etc/localtime:/etc/localtime:ro + - /etc/timezone:/etc/timezone:ro + image: kingwrcy/moments:0.0.7 + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/moments1/README.md b/apps/moments1/README.md new file mode 100644 index 00000000..eb0aaeae --- /dev/null +++ b/apps/moments1/README.md @@ -0,0 +1,7 @@ +# 使用说明 + +- 账户密码 +``` +username: admin +password: a123456 +``` \ No newline at end of file diff --git a/apps/moments1/data.yml b/apps/moments1/data.yml new file mode 100644 index 00000000..50bd3ae2 --- /dev/null +++ b/apps/moments1/data.yml @@ -0,0 +1,19 @@ +name: Moments +tags: + - 建站 +title: 极简朋友圈 +description: 极简朋友圈 +additionalProperties: + key: moments1 + name: Moments + tags: + - WebSite + shortDescZh: 极简朋友圈 + shortDescEn: Minimalist blogosphere platform + type: website + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://m.mblog.club + github: https://github.com/kingwrcy/moments + document: https://github.com/kingwrcy/moments diff --git a/apps/moments1/latest/.env.sample b/apps/moments1/latest/.env.sample new file mode 100644 index 00000000..217f4dbc --- /dev/null +++ b/apps/moments1/latest/.env.sample @@ -0,0 +1,3 @@ +CONTAINER_NAME="moments" +PANEL_APP_PORT_HTTP="40217" +DATA_PATH="./data" diff --git a/apps/moments1/latest/data.yml b/apps/moments1/latest/data.yml new file mode 100644 index 00000000..7e52d41f --- /dev/null +++ b/apps/moments1/latest/data.yml @@ -0,0 +1,17 @@ +additionalProperties: + formFields: + - default: 40217 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: ./data + edit: true + envKey: DATA_PATH + labelEn: Data folder path + labelZh: 数据文件夹路径 + required: true + type: text diff --git a/apps/moments1/latest/docker-compose.yml b/apps/moments1/latest/docker-compose.yml new file mode 100644 index 00000000..612df4d1 --- /dev/null +++ b/apps/moments1/latest/docker-compose.yml @@ -0,0 +1,20 @@ +version: '3' +services: + moments1: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:3000" + volumes: + - "${DATA_PATH}:/app/data" + - /etc/localtime:/etc/localtime:ro + - /etc/timezone:/etc/timezone:ro + image: kingwrcy/moments:latest + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/moments1/logo.png b/apps/moments1/logo.png new file mode 100644 index 00000000..b19bb10a Binary files /dev/null and b/apps/moments1/logo.png differ