Skip to content
tcp senz switch
Scala
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
project
src/main
.gitignore
Dockerfile
README.md
build.sbt

README.md

TCP switch

clone

git clone git@github.com:senzprojects/tcp-switch.git senz-switch

build with docker

sbt assembly  
docker build --tag erangaeb/senzswitch:0.14 .  

run with docker

docker run -it -d -p 7070:7070 -v <logs dir>:/app/logs -v <keys dir>:/app/.keys -e MONGO_HOST=<mongo host> -e SWITCH_MODE=<switch mode> erangaeb/senzswitch:0.14
docker run -it -d -p 7070:7070 -v /home/docker/senz/switch/logs:/app/logs -v /home/docker/senz/switch/keys:/app/.keys -e MONGO_HOST=172.17.0.1 -e SWITCH_MODE=PROD erangaeb/senzswitch:0.14

virtualbox port forwarding rules with boot2docker(OS-X or Windows)

VBoxManage controlvm "boot2docker-vm" natpf1 "tcp-port7070,tcp,,7070,,7070";
You can’t perform that action at this time.