Docker development environment
Note: Kazoo components are installed as explained in: https://2600hz.atlassian.net/wiki/display/Dedicated/via+RPM
At this moment the aim is to start up BigCouch cluster (3 nodes), one FreeSWITCH node and one Kazoo node with UI (additional FreeSWITCH and Kazoo nodes will be configured automatically in future)
- install docker-compose: https://docs.docker.com/compose/install/
- edit /etc/sysconfig/docker and edit
OPTIONS='-dns=172.17.42.1 --ipv6=false --selinux-enabled'
then restart docker
service docker restart
- clone repository:
git clone git@github.com:swarmcom/swarm-dev.git
or
git clone https://github.com/swarmcom/swarm-dev.git (in case you don't have commit rights) - cd into swarm-dev directory and issue
sudo ./swarmcom.sh init
This command will bring up all containers and will perform initial configuration (setting up BigCouch cluster). For subsequent starts of the system use
sudo ./swarmcom.sh start
For more details about swarmcom script run
sudo ./swarmcom.sh help
You can connect to first node of BigCouch cluster on port 5984 in Docker host