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

Edit docker-compose file #112

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

2 participants