I created a Docker image, https://hub.docker.com/r/carrasco/kazoo-sandbox, that includes the following features:
- Updated to Kazoo version 3.22
- Monster UI (with legacy Kazoo-UI to provide missing features)
- Bash Completion for SUP
- OpenVPN with DNS masquerading to support dynamic IP address assignment
- Can be used "offline"
Suggested Uses:
-Development Environment
-Lab
-Demos
Shell script with recommended Docker RUN syntax:
https://gist.github.com/bencarrasco/77c607a9f1aa23d42cd9
OpenVPN client configuration:
https://gist.github.com/bencarrasco/e88d4a684271969884be
Note(s):
The hostname is used for the dnsmasq configuration and Kazoo realm but can be changed at run time using the "-h" parameter.
The KEY variable is used for the Erlang Cookie shared by all apps, the Kazoo "master" account, and the "kazoo-sandbox" system account but can be changed at run time using the "-e" parameter.
Hostname: kazoo-sandbox.localhost.com
Default Kazoo admin account:
Username: master
Account: master
Realm: kazoo-sandbox.localhost.com
Password: BBVUOGTJAJJSIRSBXSGX
OpenVPN user authentication:
Username: kazoo-sandbox
Password: BBVUOGTJAJJSIRSBXSGX
Note: Hostname and Passwords can be changed at runtime. for more info, checkout:
https://gist.github.com/bencarrasco/77c607a9f1aa23d42cd9
Monster UI URLs (can be found at any of the following):
http://kazoo-sandbox.localhost.com:8080/
http://kazoo-sandbox.localhost.com:8080/monster-ui
http://kazoo-sandbox.localhost.com:8080/latest
http://kazoo-sandbox.localhost.com:8080/unstable
Kazoo UI URLs (can be found at any of the following):
http://kazoo-sandbox.localhost.com:8080/admin
http://kazoo-sandbox.localhost.com:8080/kazoo-ui
http://kazoo-sandbox.localhost.com:8080/legacy
http://kazoo-sandbox.localhost.com:8080/stable
Exposed Port(s):
16384-16424/udp (FreeSWITCH/RTP ports for 20 calls)
5060-5061/tcp (Kamailio/SIP)
5060-5061/udp (Kamailio/SIP)
11000-11001/tcp (FreeSWITCH/SIP)
11000-11001/udp (FreeSWITCH/SIP)
8080/tcp (HTTP - for Monster-UI and Kazoo-UI)
2022/tcp (SSH)
22022/tcp (OpenVPN)
8000/tcp (Kazoo/API)
nameserver 127.0.0.1
nameserver ${IP OF KUBERNETES DNS SERVICE HERE}
nameserver ${HOST DNS SERVER 1}
nameserver ${HOST DNS SERVER 2}
search default.svc.cluster.local svc.cluster.local default.pod.cluster.local pod.cluster.local cluster.local kube-system.svc.cluster.local kube-system.pod.cluster.local
After all services are created you can test dns in any of the containers that contain dig using:
dig +search +short [service-name]
Let me know what you think, I think running kazoo in kubernetes is a beautiful thing. The tag based service load balancers and the quality of service additions are really great.
You are doing important work!
Please provide instructions for installing the Kazoo 4 in containers!
--
You received this message because you are subscribed to the Google Groups "2600hz-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "2600hz-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/2600hz-users/dHrydm61Ejc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 2600hz-users+unsubscribe@googlegroups.com.
Cool!I am trying to install. Not found file:/monster-ui/build/setup-private.shTell me, please, what should be in the filesetup-private.shWith best regards,Dmitriy Cheremnov
2016-09-22 23:26 GMT+07:00 Roman Galeev <jam...@gmail.com>:
Dmitriy, take a peek at: https://github.com/jamhed/kazoo-docker
On Thu, Sep 22, 2016 at 6:21 PM, Dmitriy Cheremnov <d.che...@gmail.com> wrote:
You are doing important work!
Please provide instructions for installing the Kazoo 4 in containers!
--
You received this message because you are subscribed to the Google Groups "2600hz-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--With best regards,Roman Galeev,
--
You received this message because you are subscribed to a topic in the Google Groups "2600hz-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/2600hz-users/dHrydm61Ejc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 2600hz-users...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-users+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-users+unsubscribe@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to 2600hz-users+unsubscribe@googlegroups.com.
Dmitry, please checkout again. Should work now, I've updated configs and locked kamailio version to 4.4.3.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-users+unsubscribe@googlegroups.com.
--With best regards,Roman Galeev,
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-users+unsubscribe@googlegroups.com.
With best regards,Roman Galeev,
--
You received this message because you are subscribed to a topic in the Google Groups "2600hz-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/2600hz-users/dHrydm61Ejc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 2600hz-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "2600hz-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "2600hz-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/2600hz-users/dHrydm61Ejc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 2600hz-users...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to 2600hz-users+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-users+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "2600hz-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No, there is no typo. And you need to cd to kazoo folder, e.g. cd kazoo ; ./build.sh :)
On Thu, Oct 6, 2016 at 10:57 PM, 2600hz-users <mic...@mdruedal.dk> wrote:
There is an typo in :
/opt/kazoo-docker/kazoo/build.sh
echo $COMMIT > etc/commit
should probably be
echo $COMMIT > /etc/commit
Also I get this error:
root@docker:/opt/kazoo-docker# kazoo/build.sh
kazoo/build.sh: 5: kazoo/build.sh: ../bin/get-commit: not found
Using repository https://github.com/2600hz/kazoo.git commit:
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /opt/kazoo-docker/Dockerfile: no such file or directory
maybe there is some permission issue on the file get-commit.
--
You received this message because you are subscribed to the Google Groups "2600hz-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-users...@googlegroups.com.