From ced056f4d05b16d61468ff31cc05b7fb7312276e Mon Sep 17 00:00:00 2001 From: kev Date: Mon, 14 Feb 2022 15:33:38 +0800 Subject: [PATCH] add label-studio --- README.md | 1 + label-studio/README.md | 6 ++++++ label-studio/docker-compose.yml | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 label-studio/README.md create mode 100644 label-studio/docker-compose.yml diff --git a/README.md b/README.md index d7419ec..1425f59 100644 --- a/README.md +++ b/README.md @@ -360,6 +360,7 @@ A collection of delicious docker recipes. - [x] wurstmeister/kafka - [x] mailgun/kafka-pixy - [x] devopsfaith/krakend +- [x] heartexlabs/label-studio - [x] mailhog/mailhog - [x] tootsuite/mastodon - [x] getmeili/meilisearch :mag: diff --git a/label-studio/README.md b/label-studio/README.md new file mode 100644 index 0000000..c855856 --- /dev/null +++ b/label-studio/README.md @@ -0,0 +1,6 @@ +label-studio +============ + +[Label Studio][1] is a multi-type data labeling and annotation tool with standardized output format. + +[1]: https://labelstud.io/ diff --git a/label-studio/docker-compose.yml b/label-studio/docker-compose.yml new file mode 100644 index 0000000..b41e972 --- /dev/null +++ b/label-studio/docker-compose.yml @@ -0,0 +1,32 @@ +version: "3.8" + +services: + + app: + image: heartexlabs/label-studio + ports: + - "8080:8080" + environment: + - DJANGO_DB=default + - POSTGRE_NAME=postgres + - POSTGRE_USER=postgres + - POSTGRE_PASSWORD=postgres + - POSTGRE_PORT=5432 + - POSTGRE_HOST=db + volumes: + - ./data/app:/label-studio/data + depends_on: + - db + stdin_open: true + tty: true + restart: unless-stopped + + db: + image: postgres:alpine-14 + volumes: + - ./data/postgres:/var/lib/postgresql/data + environment: + - POSTGRES_USER=postgres + - POSTGRES_PASSWORD=postgres + - POSTGRES_DB=postgres + restart: unless-stopped