-
Notifications
You must be signed in to change notification settings - Fork 117
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
support custom username for example "-U my_username" when connecting #70
Comments
Does it work if you set "PGUSER" ?
|
First thank you so much for the reply and thank you in advance with the support.
Here is the docker-compose file that can reproduce this error. Most likely the timescaledb structure is a bit different.
Sequences of command
It will be nice to get some help in terms of adapting the script here. Thanks! |
I've been facing the same issue as you, I ended up tweaking the
And then rebuilding the docker image. And then of course you need to add the |
I got it to work with the official image and the following command: |
cool, with both environment variables there are no more errors |
It worked for me with the following changes in environment:
PGUSER: USER
POSTGRES_INITDB_ARGS: --username=USER @tianon, could you include |
The database I am trying to upgrade has a custom username and therefore I would get the following error message when running the upgrade
would it be possible to support "-U my_username" ? Or how should I adapt the script ? thank you!
The text was updated successfully, but these errors were encountered: