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

Extended condition for depends_upon db #56

Merged
merged 1 commit into from
Jul 6, 2022

Conversation

quartztester
Copy link
Contributor

A fix for issue #40 that does not touch 'entrypoint.sh' in the backend. Wait is directly implemented into the 'docker-compose.yml'.

Commit is self explanatory commit using https://stackoverflow.com/a/55835081

Checks health of Postgres db using pg_isready then moves onto creating the backend environment.

Maintainers, feel free to adjust the interval, timeout, and reties values.

@derneuere
Copy link
Member

This looks like a cleaner solution to the problem! Thank you for contributing :)

@derneuere derneuere merged commit 93ad32c into LibrePhotos:main Jul 6, 2022
@quartztester
Copy link
Contributor Author

You're welcome!

I did not touch the 'docker-compose.raw' file because I have no Apple system to test it on for consistency. I will add an appropriate issue accordingly.

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