Open minyk opened 7 years ago
Hi @tleyden First of all, this is what I need! Thank you!
After some hours with docker-compose up and down, I think I improve some part of the docker-compose.yml. See my branch: https://github.com/minyk/open-ocr/tree/feature/docker-compose/docker-compose and major changes are here:
docker-compose
docker-compose.yml
open-ocr/Dockerfile
open-ocr-preprossor/Dockerfile
Ubuntu 16.04
mirror://mirror.ubuntu.com
apt
Dockerfile
open-ocr-preprocessor
open-ocr
rabbitmq
depends_on
link
healthcheck
connection refused
open-ocr:build
open-ocr-preprossor:build
scripts
How about these changes? If you may accept, I will send PR for these.
Thank you again for great works!
These sound like good changes! Can you rebase your branch on the current master and send a PR? Somehow your branch was based on an older version of master (14 commits behind)
Hi @tleyden First of all, this is what I need! Thank you!
After some hours with
docker-compose
up and down, I think I improve some part of thedocker-compose.yml
. See my branch: https://github.com/minyk/open-ocr/tree/feature/docker-compose/docker-compose and major changes are here:Add own
open-ocr/Dockerfile
andopen-ocr-preprossor/Dockerfile
for local build.Ubuntu 16.04
LTS.mirror://mirror.ubuntu.com
forapt
.Dockerfile
carefully for reusability.open-ocr/Dockerfile
’s language section(all languages are enabled by default).open-ocr-preprocessor
is based onopen-ocr
image. Save some disk space.Modify
docker-compose.yml
.rabbitmq
service:depends_on
orlink
is enough for.healthcheck
forrabbitmq
service. No moreconnection refused
error.open-ocr:build
image beforeopen-ocr-preprossor:build
.scripts
directories are mounted with read only mode.How about these changes? If you may accept, I will send PR for these.
Thank you again for great works!