@@ -15,7 +15,11 @@ services:
1515 ports :
1616 - " ${DB_PORT:-5432}:5432"
1717 healthcheck :
18- test : ["CMD-SHELL", "pg_isready -U ${DB_USER:-quantumalpha_user} -d ${DB_NAME:-quantumalpha_db}"]
18+ test :
19+ [
20+ " CMD-SHELL" ,
21+ " pg_isready -U ${DB_USER:-quantumalpha_user} -d ${DB_NAME:-quantumalpha_db}" ,
22+ ]
1923 interval : 10s
2024 timeout : 5s
2125 retries : 5
@@ -107,7 +111,7 @@ services:
107111 timeout : 10s
108112 retries : 3
109113 start_period : 15s
110- command : ["python", "data_service/app.py"] # FIX: replaced exec(open()) with direct script path
114+ command : ["python", "data_service/app.py"] # FIX: replaced exec(open()) with direct script path
111115
112116 # ----------------------------------------------------------------
113117 # AI Engine Service
@@ -140,7 +144,7 @@ services:
140144 timeout : 10s
141145 retries : 3
142146 start_period : 15s
143- command : ["python", "ai_engine/app.py"] # FIX: replaced exec(open()) with direct script path
147+ command : ["python", "ai_engine/app.py"] # FIX: replaced exec(open()) with direct script path
144148
145149 # ----------------------------------------------------------------
146150 # Risk Service
@@ -171,7 +175,7 @@ services:
171175 timeout : 10s
172176 retries : 3
173177 start_period : 15s
174- command : ["python", "risk_service/app.py"] # FIX: replaced exec(open()) with direct script path
178+ command : ["python", "risk_service/app.py"] # FIX: replaced exec(open()) with direct script path
175179
176180 # ----------------------------------------------------------------
177181 # Execution Service
@@ -202,7 +206,7 @@ services:
202206 timeout : 10s
203207 retries : 3
204208 start_period : 15s
205- command : ["python", "execution_service/app.py"] # FIX: replaced exec(open()) with direct script path
209+ command : ["python", "execution_service/app.py"] # FIX: replaced exec(open()) with direct script path
206210
207211 # ----------------------------------------------------------------
208212 # Web Frontend
@@ -223,7 +227,15 @@ services:
223227 - quantumalpha-network
224228 restart : unless-stopped
225229 healthcheck :
226- test : ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost/health"]
230+ test :
231+ [
232+ " CMD" ,
233+ " wget" ,
234+ " --quiet" ,
235+ " --tries=1" ,
236+ " --spider" ,
237+ " http://localhost/health" ,
238+ ]
227239 interval : 30s
228240 timeout : 10s
229241 retries : 3
@@ -267,4 +279,4 @@ volumes:
267279
268280networks :
269281 quantumalpha-network :
270- driver : bridge
282+ driver : bridge
0 commit comments