Skip to content

The attemptable Docker file for basic Startalk backend functions. 基础功能的后台服务Docker file,可以在支持Docker的系统中启动试用。不断完善中。

Notifications You must be signed in to change notification settings

startalkIM/startalk-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 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 git@github.com:startalkIM/startalk-docker.git && cd startalk-docker
    It contains docker compose part and source part which have Dockerfile and code for each image in case you want to make some modifications.

  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.  
├── erl                               # Dockerfile and source code for each image.  
├── java  
│   ├── im_http_service  
│   ├── push_service  
│   └── qfproxy  
├── or  
├── postgresql  
└── py  

Q&A

Any questions and suggestions can be through github issue, Email.
Github issue: issue
Email: app@startalk.im

About

The attemptable Docker file for basic Startalk backend functions. 基础功能的后台服务Docker file,可以在支持Docker的系统中启动试用。不断完善中。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published