Skip to content

Commit af09472

Browse files
committed
Update labelstudio.yaml
1 parent 053ee63 commit af09472

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

templates/compose/labelstudio.yaml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,9 @@
44
# logo: svgs/labelstudio.png
55
# port: 8080
66

7-
version: "3"
8-
9-
volumes:
10-
pg_data: null
11-
labelstudio_data: null
12-
137
services:
148
labelstudio:
15-
image: "heartexlabs/label-studio:latest"
9+
image: heartexlabs/label-studio:latest
1610
restart: always
1711
depends_on:
1812
postgres:
@@ -31,6 +25,7 @@ services:
3125
- DATA_UPLOAD_MAX_NUMBER_FILES=${DATA_UPLOAD_MAX_NUMBER_FILES:-10000}
3226
volumes:
3327
- labelstudio_data:/label-studio/data:rw
28+
3429
postgres:
3530
image: postgres:16-alpine
3631
restart: always
@@ -41,9 +36,11 @@ services:
4136
volumes:
4237
- pg_data:/var/lib/postgresql/data
4338
healthcheck:
44-
test:
45-
- CMD-SHELL
46-
- "pg_isready -h localhost -U $${POSTGRES_USER} -d $${POSTGRES_DB}"
39+
test: ["CMD-SHELL", "pg_isready -h localhost -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
4740
interval: 5s
4841
timeout: 5s
4942
retries: 3
43+
44+
volumes:
45+
pg_data:
46+
labelstudio_data:

0 commit comments

Comments
 (0)