telepat-docker-compose-files

Docker Compose recipes for telepat

  • Owner: telepat-io/telepat-docker-compose-files
  • Platform:
  • License::
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

##Getting started with Telepat

There are two main ways you can get Telepat running on your infrastructure: using Docker containers or by cloning the source code off Github and running the NodeJS applications yourself.

##A. Docker containers

We provide official docker-compose recipes for running Telepat and its dependencies (Couchbase, Elasticsearch, Redis and Apache Kafka). The recipes are separated in two components, shared dependencies and the actual Telepat software. Once you have docker and docker-compose installed on your machine, here are the steps to get everything running:

git clone https://github.com/telepat-io/telepat-docker-compose-files
cd telepat-docker-compose-files/shared
sudo docker-compose up 

Wait for things to boot up and when the logs stabilize, open a new terminal windows and start up the Telepat instance:

cd telepat-docker-compose-files/telepat
sudo docker-compose up

Right now everything should be up and running. The API instance is available on the same IP as your docker client (if you're running the Docker instance locally, it's localhost. If you're running on a Mac with boot2docker, you can find the IP by running:

boot2docker ip

The Sync API is running on port 3000 by default and the websockets endpoint runs on port 80 by default.

##B. From source

The Telepat backend stack is made up of two components. The Sync API (https://github.com/telepat-io/telepat-api) and the background workers (https://github.com/telepat-io/telepat-worker). Each of these repos provide usage instructions on their respective README files, generally it's a matter of setting the correct ENV variables for linking to Couchbase, Elasticsearch, Redis and Kafka and then starting the NodeJS apps.

##Initial configuration

You can use the telepat-cli NPM package in order to interact with and configure your Telepat instance. Install telepat-cli like this:

npm install -g telepat-cli

Check out the Telepat Getting Started article on the documentation portal for more details.

Main metrics

Overview
Name With Ownertelepat-io/telepat-docker-compose-files
Primary Language
Program language (Language Count: 0)
Platform
License:
所有者活动
Created At2015-06-08 12:35:46
Pushed At2017-07-07 10:32:12
Last Commit At2017-07-07 13:31:59
Release Count0
用户参与
Stargazers Count21
Watchers Count7
Fork Count4
Commits Count23
Has Issues Enabled
Issues Count7
Issue Open Count4
Pull Requests Count0
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private