Skip to content

Conversation

moslehazizi
Copy link

For issue #111

@pawlobanano
Copy link

I'm in for the simplification.

Another known way is to put this in postgres service:

healthcheck:
      test: [ "CMD-SHELL", "pg_isready -d local_container_postgresql_database -U local_container_postgresql_database_user" ]
      interval: 5s
      timeout: 5s
      retries: 5

I don't know which is better/optimal.

@moslehazizi
Copy link
Author

Thank you, Your way is more simple, I think it is better.

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