### Docker Compose Setup for xechat-server Source: https://github.com/anlingyi/xechat-idea/blob/main/README.md This Docker Compose configuration defines the `xechat-server` service, specifying its image, container name, and an `always` restart policy. It maps ports 1024 and 1025 from the host to the container and mounts volumes for persistent logs, configuration, and database files, ensuring data integrity and ease of management. ```yml version: '3' services: xechat: image: anlingyi/xechat-server:1.6.7-beta container_name: xechat-server restart: always ports: - 1024:1024 - 1025:1025 volumes: - /home/xechat/logs:/var/log/xechat-server - /home/xechat/config/config.setting:/home/xechat/config/config.setting - /home/xechat/db:/home/xechat/db ``` -------------------------------- ### JSON Structure for Public Server Listing Source: https://github.com/anlingyi/xechat-idea/blob/main/README.md This JSON object demonstrates the required format for adding a server to the public `server_list.json` file. It includes fields for the server's display `name`, its `ip` address or domain, and the `port` number. Submitting a Pull Request with this information allows a server to be publicly listed. ```json { "name": "xxx", //鱼塘名 "ip": "127.0.0.1", //你的服务器IP或域名 "port": 1024 //端口号 } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.