tleyden / open-ocr

Run your own OCR-as-a-Service using Tesseract and Docker
Apache License 2.0
1.33k stars 223 forks source link

Replacing DOCKER_HOST varibale with RABBITMQ_HOST #9

Closed chauthai closed 10 years ago

chauthai commented 10 years ago

Hi, I had hard times getting my instance running on my VM. Since my docker instances require a port in DOCKER_HOST. See documentation for more info: https://docs.docker.com/reference/commandline/cli/ ("$ export DOCKER_HOST="tcp://0.0.0.0:2375")

So I've dug in a bit on your launcher.sh script and replaced the DOCKER_HOST with a RABBITMQ_HOST since your script requires an IP without ports to work.

My setup is a VM with Ubuntu-Server 14.04 with the lastest lxc-docker version 1.1.2 d84a070. I executed all commands on root level after getting root rights with '$ sudo -i'.

olragon commented 10 years ago

I am totally agree with @chauthai. Please merge.

tleyden commented 10 years ago

OK thanks. Yes DOCKER_HOST was a bad name choice here, merging the PR.

PS: was on vacation, sorry for the delayed reply.