Skip to content

startalkIM/startalk-docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is Startalk-docker?

Startalk is an open source IM platform. It supports all the platforms and OSs you can think of, excellent performance. Its performance and stability have been proved in Qunar's production during the last ten years. For more details about Startalk, see: Startalk Introduction

Although it is very versatile, it's a huge system. We hope the deployement could be more accessible for people who want to try it so that we containerize each module into Docker. Within Docker, it take less than 5 minutes to start it up.

As for usage in production enviroment, the origin way of deployment is more recommended. We have thorough introduction to tell you how to deploy Startalk on CentOS / Ubuntu step by step, even newbie can complete the deployment within a few hours.

How to get started?

  1. Make sure you have docker installed in your system. It is best recommended under
  • Docker version 20.10.0
  • Docker-compose version 1.27.4
  • Dockerfile version 3
  1. git clone https://github.com/startalkIM/startalk-docker-compose.git && cd startalk-docker-compose
    It contains only docker compose.

  2. ./startalkdockerctl init
    WARNING: For users in Windows, if you don't have sed command installed on your PC, we recommend install Git Bash (https://gitforwindows.org/) and then execute this script.
    This script use sed command to correct IP in config files so that Startalk clients can reach the server. It also supports clean up the data and start docker-compose. See ./startalkdockerctl help.

  3. ./startalkdockerctl start
    This equals docker-compose -d, it starts Startalk in background.

  4. Use PC client connect to the startalk-docker via navigation: http://${ip_you_provide}:8080/newapi/nck/qtalk_nav.qunar
    Download PC client from our website: Download Page

Port Usage:

8080 - Openresty
5432 - PostgreSQL
6379 - Redis
5202, 5280, 10050 - Ejabberd
8081 - im_http_service
8082 - qfproxy
8083 - push_service
8884 - search

Documentation and source code of each service could be found at Github

Directory structure:

├── compose                           # docker compose part.  
│   ├── conf                              # config files for each service.  
│   │   ├── ejabberd  
│   │   ├── im_http_service  
│   │   ├── or  
│   │   ├── push_service  
│   │   ├── qfproxy  
│   │   ├── redis  
│   │   └── search  
│   └── volume                            # volumes, docker mechanism for persisting data.  
│       ├── data                              # database and chat files.  
│       └── log                               # logs for each service.  
├── startalkdockerctl                 # Dockerfile and source code for each image.  
└── README.md 

Q&A

Any questions and suggestions can be through github issue, Email.
Github issue: issue
Email: [email protected]

About

Docker compose of startalk.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published