diff --git a/apps/synapse-admin/0.10.3/data.yml b/apps/synapse-admin/0.10.3/data.yml new file mode 100644 index 00000000..97169324 --- /dev/null +++ b/apps/synapse-admin/0.10.3/data.yml @@ -0,0 +1,10 @@ +additionalProperties: + formFields: + - default: 8080 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelZh: 访问端口 + labelEn: Port + required: true + rule: paramPort + type: number diff --git a/apps/synapse-admin/0.10.3/docker-compose.yml b/apps/synapse-admin/0.10.3/docker-compose.yml new file mode 100644 index 00000000..4b1e8d83 --- /dev/null +++ b/apps/synapse-admin/0.10.3/docker-compose.yml @@ -0,0 +1,18 @@ +networks: + 1panel-network: + external: true + +services: + synapse-admin: + image: awesometechnologies/synapse-admin:0.10.3 + container_name: ${CONTAINER_NAME} + labels: + createdBy: "Apps" + restart: always + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:80 + env_file: + - /etc/1panel/envs/global.env + - ${ENV_FILE:-/etc/1panel/envs/default.env} diff --git a/apps/synapse-admin/0.10.3/scripts/init.sh b/apps/synapse-admin/0.10.3/scripts/init.sh new file mode 100644 index 00000000..77b84912 --- /dev/null +++ b/apps/synapse-admin/0.10.3/scripts/init.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/apps/synapse-admin/0.10.3/scripts/uninstall.sh b/apps/synapse-admin/0.10.3/scripts/uninstall.sh new file mode 100644 index 00000000..c86c4fbc --- /dev/null +++ b/apps/synapse-admin/0.10.3/scripts/uninstall.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/apps/synapse-admin/0.10.3/scripts/upgrade.sh b/apps/synapse-admin/0.10.3/scripts/upgrade.sh new file mode 100644 index 00000000..77b84912 --- /dev/null +++ b/apps/synapse-admin/0.10.3/scripts/upgrade.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/apps/synapse-admin/README.md b/apps/synapse-admin/README.md new file mode 100644 index 00000000..df68747f --- /dev/null +++ b/apps/synapse-admin/README.md @@ -0,0 +1,15 @@ +# Synapse Admin + +Synapse 是一个开源的 Matrix 家庭服务器实现,由 Element 开发和维护。Matrix 是安全且可互操作实时通信的开放标准。 + +![Synapse](https://file.lifebus.top/imgs/synapse_cover.png) + +![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue) + +## 安装说明 + +本应用为 Synapse 服务器的管理工具,用于管理 Synapse 服务器的配置文件,用户,房间等信息。 + +--- + +![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png) diff --git a/apps/synapse-admin/data.yml b/apps/synapse-admin/data.yml new file mode 100644 index 00000000..cdcfbc6c --- /dev/null +++ b/apps/synapse-admin/data.yml @@ -0,0 +1,15 @@ +additionalProperties: + key: synapse-admin + name: Synapse Admin + tags: + - WebSite + - Middleware + - Local + shortDescZh: 用于安全、分散通信的开放网络 + shortDescEn: An open network for secure, decentralised communication + type: website + crossVersionUpdate: true + limit: 0 + website: https://matrix.org/ + github: https://github.com/matrix-org/synapse/ + document: https://matrix.org/ diff --git a/apps/synapse-admin/logo.png b/apps/synapse-admin/logo.png new file mode 100644 index 00000000..3cebddfa Binary files /dev/null and b/apps/synapse-admin/logo.png differ