docker icon indicating copy to clipboard operation
docker copied to clipboard

[IMP] Add option to customize wait-for-psql.py timeout

Open mamiu opened this issue 5 years ago • 2 comments

Allow users to pass a custom timeout value for the wait-for-psql.py script to the container via the PSQL_TIMEOUT environment variable. The timeout of 30 seconds still remains the default.

Background

In our Kubernetes cluster the startup of the postgresql container takes sometimes a little longer than 30 seconds. This change offers users to adjust the timeout to a higher value to prevent the odoo container from getting stuck.

mamiu avatar Nov 28 '20 06:11 mamiu

@mamiu can you update this PR for 15, 16, 17 releases?

lathama avatar Mar 31 '24 20:03 lathama

@lathama Are you working for Odoo? I only wanna update this PR if I can be sure that someone's merging it.

mamiu avatar Apr 29 '24 23:04 mamiu