From 18efd08a1b3bd2f6dc5999af5cdaa4664b67add5 Mon Sep 17 00:00:00 2001 From: Michelle Weidling <weidling@sub.uni-goettingen.de> Date: Mon, 13 Mar 2023 13:00:23 +0100 Subject: [PATCH] chore: docker-compose.yml UX --- README.md | 2 +- docker-compose.yml | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 250f6a6..fad0f09 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ You can then either rebuild the Docker image via `docker compose build` or mount - ./workflows/ocrd_workflows:/app/workflows/ocrd_workflows ``` -and spin up a new run with `docker compose up`. +in the `volumes` section and spin up a new run with `docker compose up`. ### Removing OCR-D Workflows diff --git a/docker-compose.yml b/docker-compose.yml index 033ecd2..21b37d5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,8 @@ services: dockerfile: Dockerfile working_dir: /app volumes: - - ./models:/usr/local/share/ocrd-resources/ - - ./data:/app/data - - ./workflows:/app/workflows \ No newline at end of file + - ./data:/app/data # this will write the results to your host system + # mount your modules, custom workflows and data here + # - /path/to/models/on/host:/usr/local/share/ocrd-resources/ + # - ./workflows/ocrd_workflows:/app/workflows/ocrd_workflows + # - TODO/custom/data \ No newline at end of file -- GitLab