Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add some healthcheck #315

Merged
merged 1 commit into from
Jul 23, 2024
Merged

add some healthcheck #315

merged 1 commit into from
Jul 23, 2024

Conversation

lyrixx
Copy link
Member

@lyrixx lyrixx commented Jul 23, 2024

Demo:

>…ev/github.com/jolicode/docker-starter(HEALTHCHECK *) docker ps
NAMES                           IMAGE                          STATUS                   CREATED         COMMAND
app-frontend-1                  app-frontend                   Up 2 minutes             2 minutes ago   "/entrypoint runsvdi…"
app-postgres-1                  postgres:16                    Up 2 minutes (healthy)   2 minutes ago   "docker-entrypoint.s…"
app-rabbitmq-1                  rabbitmq:3-management-alpine   Up 2 minutes (healthy)   2 minutes ago   "docker-entrypoint.s…"
app-router-1                    app-router                     Up 2 minutes             2 minutes ago   "/entrypoint.sh trae…"
app-mysql-1                     mysql:8                        Up 2 minutes (healthy)   2 minutes ago   "docker-entrypoint.s…"
app-redis-1                     redis:5                        Up 2 minutes (healthy)   2 minutes ago   "docker-entrypoint.s…"
app-elasticsearch-1             elasticsearch:7.8.0            Up 2 minutes (healthy)   2 minutes ago   "/tini -- /usr/local…"

Copy link
Member

@pyrech pyrech left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

@pyrech pyrech merged commit 7d95865 into main Jul 23, 2024
4 checks passed
@pyrech pyrech deleted the HEALTHCHECK branch July 23, 2024 12:24
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.

2 participants