We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi Stéphane
I see that you face the same issue as me ;) : bcc6246
I think the best option is to pass to the container the postgres variable directly in the confd, so when you enter in the container psql work
PGHOST PGPORT PGUSER PGPASSWORD PGDATABASE
And simply removing the variable DB_HOST DB_PORT DB_USER DB_PASSWORD DB_NAME
So we always have the postgres variable set.
In our case we have done this hack in our image (based on your)
https://github.com/akretion/odoo-docker/blob/master/bin/ak-entrypoint.sh#L10
I will be happy to remove this hack if we can directly use postgres var in confd
The text was updated successfully, but these errors were encountered:
@sbidoul
Sorry, something went wrong.
Yes that would be nice.
Concerns are backward compatibility and the fact that DB_NAME may contain a comma-separated list of database names.
I had other priorities, so for we set both DB_* and PG* environment variables in the deployments.
No branches or pull requests
Hi Stéphane
I see that you face the same issue as me ;) :
bcc6246
I think the best option is to pass to the container the postgres variable directly in the confd, so when you enter in the container psql work
PGHOST
PGPORT
PGUSER
PGPASSWORD
PGDATABASE
And simply removing the variable
DB_HOST
DB_PORT
DB_USER
DB_PASSWORD
DB_NAME
So we always have the postgres variable set.
In our case we have done this hack in our image (based on your)
https://github.com/akretion/odoo-docker/blob/master/bin/ak-entrypoint.sh#L10
I will be happy to remove this hack if we can directly use postgres var in confd
The text was updated successfully, but these errors were encountered: