Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
AI Tutor
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Salma Mohammed Hamed
AI Tutor
Commits
703442fe
Commit
703442fe
authored
Sep 16, 2025
by
SalmaMohammedHamedMustafa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix health checks
parent
ed7b5fb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
12 deletions
+6
-12
docker-compose.yml
self_hosted_env/docker-compose.yml
+6
-12
No files found.
self_hosted_env/docker-compose.yml
View file @
703442fe
...
...
@@ -62,11 +62,8 @@ services:
-
app-network
restart
:
"
no"
depends_on
:
postgres
:
condition
:
service_healthy
minio
:
condition
:
service_healthy
# Remove healthcheck for batch job
-
postgres
-
minio
deploy
:
resources
:
limits
:
...
...
@@ -95,14 +92,11 @@ services:
-
app-network
restart
:
unless-stopped
depends_on
:
postgres
:
condition
:
service_healthy
minio
:
condition
:
service_healthy
data-handler
:
condition
:
service_completed_successfully
-
postgres
-
minio
-
data-handler
healthcheck
:
test
:
[
"
CMD-SHELL"
,
"
python
-c
'import
requests;
requests.get(
\"
http://localhost:8000/health
\"
)'
||
exit
1"
]
test
:
[
"
CMD-SHELL"
,
"
curl
-f
http://localhost:8000/
||
exit
1"
]
interval
:
30s
timeout
:
15s
retries
:
5
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment