Created
November 12, 2016 08:34
-
-
Save kampta/a43413b64a1696b26673eca9ef8d640b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
# Start messaging broker | |
rabbitmq: | |
image: tutum/rabbitmq | |
dns: ["8.8.8.8"] | |
environment: | |
- "RABBITMQ_PASS=Phaish9ohbaidei6oole" | |
# Start http server | |
openocr: | |
image: tleyden5iwx/open-ocr | |
dns: ["8.8.8.8"] | |
links: | |
- rabbitmq | |
depends_on: | |
- rabbitmq | |
ports: | |
- "9292:9292" | |
command: "open-ocr-httpd -amqp_uri amqp://admin:Phaish9ohbaidei6oole@rabbitmq/ -http_port 9292" | |
# Start OCR worker | |
openocrworker: | |
image: tleyden5iwx/open-ocr | |
dns: ["8.8.8.8"] | |
links: | |
- rabbitmq | |
depends_on: | |
- openocr | |
command: "open-ocr-worker -amqp_uri amqp://admin:Phaish9ohbaidei6oole@rabbitmq/" | |
# Start transformation worker | |
strokewidthtransform: | |
image: tleyden5iwx/open-ocr-preprocessor | |
dns: ["8.8.8.8"] | |
links: | |
- rabbitmq | |
depends_on: | |
- openocr | |
command: "open-ocr-preprocessor -amqp_uri amqp://admin:Phaish9ohbaidei6oole@rabbitmq/ -preprocessor stroke-width-transform" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment