File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change 4
4
# logo: svgs/labelstudio.png
5
5
# port: 8080
6
6
7
- version : " 3"
8
-
9
- volumes :
10
- pg_data : null
11
- labelstudio_data : null
12
-
13
7
services :
14
8
labelstudio :
15
- image : " heartexlabs/label-studio:latest"
9
+ image : heartexlabs/label-studio:latest
16
10
restart : always
17
11
depends_on :
18
12
postgres :
@@ -31,6 +25,7 @@ services:
31
25
- DATA_UPLOAD_MAX_NUMBER_FILES=${DATA_UPLOAD_MAX_NUMBER_FILES:-10000}
32
26
volumes :
33
27
- labelstudio_data:/label-studio/data:rw
28
+
34
29
postgres :
35
30
image : postgres:16-alpine
36
31
restart : always
@@ -41,9 +36,11 @@ services:
41
36
volumes :
42
37
- pg_data:/var/lib/postgresql/data
43
38
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}"]
47
40
interval : 5s
48
41
timeout : 5s
49
42
retries : 3
43
+
44
+ volumes :
45
+ pg_data :
46
+ labelstudio_data :
You can’t perform that action at this time.
0 commit comments