Skip to content

Commit e446354

Browse files
committed
Added Label Studio
1 parent 128d732 commit e446354

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

public/svgs/labelstudio.png

1.77 KB
Loading

templates/compose/labelstudio.yaml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# documentation: https://labelstud.io/guide/
2+
# slogan: Label Studio is a multi-type data labeling and annotation tool with standardized output format
3+
# tags: workflow, orchestration, data-pipeline, python, labelstudio, ai, elasticsearch, datasets, data, machine-learning, data-science, nlp, images, vision
4+
# logo: svgs/labelstudio.png
5+
# port: 8080
6+
7+
version: "3"
8+
9+
volumes:
10+
pg_data: null
11+
labelstudio_data: null
12+
13+
services:
14+
labelstudio:
15+
image: "heartexlabs/label-studio:latest"
16+
restart: always
17+
depends_on:
18+
postgres:
19+
condition: service_healthy
20+
environment:
21+
- SERVICE_FQDN_LABELSTUDIO_8080
22+
- DJANGO_DB=default
23+
- POSTGRE_NAME=${POSTGRES_DB:-labelstudio}
24+
- POSTGRE_USER=${SERVICE_USER_POSTGRES}
25+
- POSTGRE_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
26+
- POSTGRE_PORT=5432
27+
- POSTGRE_HOST=postgres
28+
- LABEL_STUDIO_HOST=${LABEL_STUDIO_HOST:-0.0.0.0}
29+
- SSRF_PROTECTION_ENABLED=true
30+
- LABEL_STUDIO_DISABLE_SIGNUP_WITHOUT_LINK=${LABEL_STUDIO_DISABLE_SIGNUP_WITHOUT_LINK:-true}
31+
- DATA_UPLOAD_MAX_NUMBER_FILES=${DATA_UPLOAD_MAX_NUMBER_FILES:-10000}
32+
volumes:
33+
- labelstudio_data:/label-studio/data:rw
34+
postgres:
35+
image: postgres:16-alpine
36+
restart: always
37+
environment:
38+
- POSTGRES_USER=${SERVICE_USER_POSTGRES}
39+
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
40+
- POSTGRES_DB=${POSTGRES_DB:-labelstudio}
41+
volumes:
42+
- pg_data:/var/lib/postgresql/data
43+
healthcheck:
44+
test:
45+
- CMD-SHELL
46+
- "pg_isready -h localhost -U $${POSTGRES_USER} -d $${POSTGRES_DB}"
47+
interval: 5s
48+
timeout: 5s
49+
retries: 3

0 commit comments

Comments
 (0)