Skip to content

Instantly share code, notes, and snippets.

@bencarrasco
Last active May 19, 2018 16:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bencarrasco/77c607a9f1aa23d42cd9 to your computer and use it in GitHub Desktop.
Save bencarrasco/77c607a9f1aa23d42cd9 to your computer and use it in GitHub Desktop.
Shell script to run the docker image at https://hub.docker.com/r/carrasco/kazoo-sandbox/
#!/bin/bash
#
# NOTE(s):
# KEY variable is used for the following:
# 1. Password for the kazoo-sandbox user account
# 2. Erlang Cookie used for all apps
#
#
docker run \
-h kazoo-sandbox.localhost.com \
-p 16384-16424:16384-16424/udp \
-p 5060-5061:5060-5061/tcp \
-p 5060-5061:5060-5061/udp \
-p 11000-11001:11000-11001/tcp \
-p 11000-11001:11000-11001/udp \
-p 8080:8080/tcp \
-p 22022:22022/tcp \
-p 443:443/tcp \
-p 8000:8000/tcp \
-p 8443:8443/tcp \
--privileged \
-e "KEY=BBVUOGTJAJJSIRSBXSGX" \
-i \
-d \
carrasco/kazoo-sandbox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment