File tree 1 file changed +23
-0
lines changed
1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ services:
30
30
- frontend
31
31
- backend
32
32
depends_on :
33
+ postgres :
34
+ condition : service_healthy
33
35
redis :
34
36
condition : service_healthy
35
37
healthcheck :
@@ -58,6 +60,8 @@ services:
58
60
- frontend
59
61
- backend
60
62
depends_on :
63
+ postgres :
64
+ condition : service_healthy
61
65
redis :
62
66
condition : service_healthy
63
67
restart : always
@@ -72,6 +76,8 @@ services:
72
76
- frontend
73
77
- backend
74
78
depends_on :
79
+ postgres :
80
+ condition : service_healthy
75
81
backend :
76
82
condition : service_healthy
77
83
redis :
@@ -92,6 +98,23 @@ services:
92
98
start_period : 10s
93
99
restart : always
94
100
101
+
102
+ postgres :
103
+ image : growth123/postgres-pgvector-mecab
104
+ env_file :
105
+ - .env.server
106
+ volumes :
107
+ - postgres_data:/var/lib/postgresql/data
108
+ networks :
109
+ - net
110
+ healthcheck :
111
+ test : ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
112
+ interval : 10s
113
+ timeout : 5s
114
+ retries : 5
115
+ ports :
116
+ - " 5432:5432"
117
+
95
118
redis :
96
119
image : redis:latest
97
120
env_file :
You can’t perform that action at this time.
0 commit comments