We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b50da11 commit 8b19217Copy full SHA for 8b19217
compose/docker-compose.yaml
@@ -1,4 +1,3 @@
1
-
2
services:
3
4
postgres:
@@ -23,7 +22,8 @@ services:
23
22
ports:
24
- "${MB3_API_PORT}:${MB3_SERVER_PORT}"
25
depends_on:
26
- - postgres
+ postgres:
+ condition: service_healthy
27
environment:
28
- DB_TYPE
29
- DB_PORT
@@ -40,7 +40,8 @@ services:
40
41
- "${SIMILARITY_SERVICE_COSINE_PORT}:8080"
42
43
+ mb3tool:
44
+ condition: service_completed_successfully
45
46
47
- DB_USER
@@ -63,6 +64,9 @@ services:
63
64
build:
65
context: ..
66
dockerfile: Dockerfile-dbtool
67
+ depends_on:
68
69
70
71
72
0 commit comments