docker快速搭建MATRIX服务器synapse-2023
docker 快速搭建 MATRIX 服务器 synapse 环境 debian11 docker synapse:v1.83.0 postgres:12-alpine 域名一个 不能轻易修改 ipv6 地址 安装 新建一个文件夹建立 yml 文件nano docker-compose.yml内容如下注意自己 生成数据库密码 #也感谢糖喵提供的配置文件~ version: "3.4" services: synapse: hostname: matrix image: matrixdotorg/synapse:v1.83.0 restart: always container_name: matrix_server depends_on: - db - redis ports: - "127.0.0.1:8001:8008" volumes: - ./synapse/data:/data networks: - synapse_network - external_network healthcheck: test: ["CMD-SHELL", "curl -s localhost:8008/health || exit 1"] db: image: postgres:12-alpine restart: always container_name: matrix_db volumes: - ./synapse/db:/var/lib/postgresql/data environment: POSTGRES_USER: synapse POSTGRES_PASSWORD: 配置数据库密码 POSTGRES_DB: synapse POSTGRES_INITDB_ARGS: "--encoding='UTF8' --lc-collate='C' --lc-ctype='C'" networks: - synapse_network healthcheck: test: ["CMD", "pg_isready", "-U", "synapse"] redis: image: redis:6....