mirror of
https://github.com/okxlin/appstore.git
synced 2026-09-23 08:01:00 +00:00
Origin: renovate PR #4511\n\n- update simplexchat/smp-server to v7.0.0\n- remove the obsolete HTTP info-page override and keep the SMP relay port\n- source runtime path variables in lifecycle scripts\n- delete legacy stats logs during 6.5.x -> 7.0.0 upgrade to avoid v7 startup failure
46 lines
2.1 KiB
Markdown
46 lines
2.1 KiB
Markdown
# SimpleX SMP Server
|
||
|
||
## 产品介绍
|
||
SimpleX SMP Server 是官方推荐的自托管 SimpleX 中继服务,提供 SMP 消息中继端口,并自动生成运行所需的证书、指纹与配置。
|
||
|
||
## 主要功能
|
||
- 自托管 SMP 中继服务端口
|
||
- 首次启动自动生成证书、指纹与 `smp-server.ini`
|
||
- 支持可选队列创建密码
|
||
|
||
## 访问说明
|
||
安装完成后:
|
||
|
||
```text
|
||
smp://指纹[:创建队列密码]@ADDR:PANEL_APP_PORT_SMP
|
||
```
|
||
|
||
`ADDR` 默认值为 `127.0.0.1`,仅适用于本地初始化与测试。正式安装时请直接填写你的公网域名或公网 IP,SimpleX 客户端通过该地址与 SMP 端口连接。
|
||
|
||
## 数据持久化
|
||
- `APP_CONFIG_DIR`:持久化 `/etc/opt/simplex`,保存证书、指纹与 `smp-server.ini`
|
||
- `APP_STATE_DIR`:持久化 `/var/opt/simplex`,保存 store log、统计与运行状态文件
|
||
|
||
## 升级说明
|
||
- 从 6.5.x 升级到 7.0.0 时,应用升级脚本会清理旧版生成的 `smp-server-stats.log` / `smp-server-stats.daily.log`,避免官方 v7 进程因旧统计文件格式不兼容而启动失败。
|
||
- 这会丢弃旧版累计的本地统计历史,但不会删除证书、指纹、store log 或消息数据。
|
||
|
||
## Introduction
|
||
SimpleX SMP Server is the official self-hosted relay server for SimpleX. This adaptation keeps the SMP relay port and follows the current Docker image behavior used by the upstream server image.
|
||
|
||
## Features
|
||
- Self-hosted SMP relay port
|
||
- Auto-generated certificates, fingerprint, and `smp-server.ini`
|
||
- Optional password for creating new queues
|
||
- `ADDR` must be set to your public domain or public IP during installation
|
||
|
||
## 版本说明
|
||
固定版本使用官方镜像 `simplexchat/smp-server:v7.0.0`,`latest` 当前同样基于 7.0.0 发布线。
|
||
|
||
## 参考资料
|
||
- 官网: <https://simplex.chat/>
|
||
- 部署文档: <https://github.com/simplex-chat/simplex-chat/blob/stable/docs/SERVER.md>
|
||
- 源码: <https://github.com/simplex-chat/simplex-chat>
|
||
- Docker Compose 参考: <https://raw.githubusercontent.com/simplex-chat/simplexmq/stable/scripts/docker/docker-compose-smp-manual.yml>
|
||
- Docker Hub: <https://hub.docker.com/r/simplexchat/smp-server>
|