Skip to content

chore: Add health check to RustFS service#2472

Open
sasmaq wants to merge 3 commits into
distr-sh:mainfrom
sasmaq:Add-health-check-to-RustFS-service
Open

chore: Add health check to RustFS service#2472
sasmaq wants to merge 3 commits into
distr-sh:mainfrom
sasmaq:Add-health-check-to-RustFS-service

Conversation

@sasmaq
Copy link
Copy Markdown
Contributor

@sasmaq sasmaq commented May 22, 2026

closes #2471

'CMD',
'sh',
'-c',
'curl -f http://127.0.0.1:9000/health && curl -f http://127.0.0.1:9001/rustfs/console/health',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think checking the S3 API should be enough

Suggested change
'curl -f http://127.0.0.1:9000/health && curl -f http://127.0.0.1:9001/rustfs/console/health',
'curl -f http://127.0.0.1:9000/health',

Comment on lines 21 to 23
depends_on:
postgres:
condition: service_healthy
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the hub service depend on storage in addition to the database?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Health Check on RustFS

2 participants