Comments (7)
Hi,
https://docs.docker.com/compose/startup-order/
depends_on:
- "rabbitmq"
from open-ocr.
5672,eaddrinuse means you have something (RabbitMQ?) already listening on that port.
from open-ocr.
I just install it on a new machine
from open-ocr.
Thanks @wicope! That's a much cleaner approach than the current docker compose file
from open-ocr.
docker ps -a
c30dd164a980 tleyden5iwx/open-ocr "/opt/open-ocr/open-o" 18 minutes ago Exited (2) 17 minutes ago dockercompose_openocrworker_1
docker logs c30dd164a980
14:12:13.176167 OCR_WORKER: Creating new OCR Worker
14:12:13.185760 OCR_WORKER: Run() called...
14:12:13.186077 OCR_WORKER: dialing "amqp://admin:Cdoe4O8oOalghout4FR4cqfx@rabbitmq/"
14:12:13.322935 OCR_WORKER: error connecting to rabbitmq dial tcp 172.18.0.2:5672: connection refused
14:12:13.323108 PANIC: Error running worker: dial tcp 172.18.0.2:5672: connection refused -- main.main() at main.go:36
panic: Error running worker: dial tcp 172.18.0.2:5672: connection refused
...
https://github.com/docker/compose/blob/master/docs/compose-file.md#depends_on
Controlling startup order in Compose
https://docs.docker.com/compose/startup-order/
https://github.com/docker/compose/blob/master/docs/startup-order.md
https://github.com/vishnubob/wait-for-it
https://github.com/jwilder/dockerize
http://www.onegeek.com.au/articles/waiting-for-dependencies-in-docker-compose
docker/compose#374
from open-ocr.
Would be great if someone could do pull request to fix the docker compose file
from open-ocr.
Looks like this was already merged: https://github.com/tleyden/open-ocr/blob/master/docker-compose/docker-compose.yml#L31
from open-ocr.
Related Issues (20)
- Curl on Windows
- memory consumption HOT 13
- psm argument doesn't work with Tesseract 4.0 HOT 8
- Java client for open-OCR HOT 1
- Can we use preprocessors with multipart requests?
- No default machine exists
- curl: (7) Failed to connect to 192.168.99.100 port 9292: Connection refused on Mac OSX HOT 1
- upload
- Unable to perform OCR decode. Error: Get : unsupported protocol scheme ""
- Using the PDF pre-processor HOT 13
- Pin dependencies with Go modules
- Non-English Error
- error connecting to rabbitmq dial tcp 172.19.0.2:5672: i/o timeout
- 选择 语言 HOT 2
- upload-local-file.py does not work as expected
- strokewidthtransform container craches using PDF and "stroke-width-transform"
- rpc timeout when load increases on kubernetes cluster
- Use links HOT 1
- convert-pdf error
- Launch in Google Cloud Run
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-ocr.