Coder Social home page Coder Social logo

kazoo-configs-docker's Introduction

About project

Project created as set of support tools to deploy kazoo solution on docker environment. My needs:

  1. need tools to deploy kazoo in Amazon cloud;
  2. required use Linux dist that have docker out of box.

To cover this reqirments i selected CoreOS dist and wrote this tools. Project ready to deploy kazoo as cluster with zones and as All in one with one zone

Usage instruction

To start

  1. need download Container Linux Config Transpiler utility and play folder included into your PATH environment variable. On my dist Fedora this ~/.local/bin/ folder;
  2. download and edit config.yaml file
curl -O https://raw.githubusercontent.com/sergey-safarov/kazoo-configs-docker/master/config.yaml
vi config.yaml
  1. generate ignition data
ct -in-file config.yaml
  1. copy ignition data into Amazon CoreOS instance creation dialog as user-data
  2. Create new CoreOS instance and wait when systemd booted.

Post boot preparation

On first Amazon instance need to create docker swarm master node

docker swarm init

On all next nodes need to join to created docker swarm cluster using token generatd on first master node. Additonal nodes is created as workers. If you need, then you can switch node from worker to master.

Then need to create docker swam network

docker network create --driver overlay --attachable --subnet 192.168.30.0/24 --gateway 192.168.30.1 kazoo
/usr/bin/git clone https://github.com/sergey-safarov/kazoo-configs-core.git /etc/kazoo/kazoo-configs-core
/usr/bin/git clone https://github.com/sergey-safarov/kazoo-configs-freeswitch.git /etc/kazoo/kazoo-configs-freeswitch
/usr/bin/git clone https://github.com/sergey-safarov/kazoo-configs-haproxy.git /etc/kazoo/kazoo-configs-haproxy
/usr/bin/git clone https://github.com/sergey-safarov/kazoo-configs-couchdb.git /etc/kazoo/kazoo-configs-couchdb
/usr/bin/git clone https://github.com/sergey-safarov/kazoo-configs-kamailio.git /etc/kazoo/kazoo-configs-kamailio

kazoo-configs-docker's People

Contributors

sergey-safarov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.