You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am completely new to docker, I might be doing some small mistake though
root@docker:/# docker run --name=pgbouncer_2 -e DB_USER=postgres -e DB_PASSWORD=test -e DB_HOST=192.168.0.102 -e DB_NAME=postgres -v pgbouncer.ini:/etc/pgbouncer/pgbouncer.ini -p 5432:5432 edoburu/pgbouncer
Wrote authentication credentials to /etc/pgbouncer/userlist.txt
Create pgbouncer config in /etc/pgbouncer
grep: /etc/pgbouncer/userlist.txt: No such file or directory
/entrypoint.sh: line 58: can't create /etc/pgbouncer/pgbouncer.ini: Is a directory
When I start with only username and password it works, however I want this to take multiple users hence I was trying to run this with external configuration file option.
The text was updated successfully, but these errors were encountered:
Thanks, I've fixed this issue. As the entrypoint.sh tried to setup pgbouncer, it also tried to insert the credentials into /etc/pgbouncer/userlist.txt if those were missing. In your case, you likely picked a different file location. The script checks for this now.
I am completely new to docker, I might be doing some small mistake though
root@docker:/# docker run --name=pgbouncer_2 -e DB_USER=postgres -e DB_PASSWORD=test -e DB_HOST=192.168.0.102 -e DB_NAME=postgres -v pgbouncer.ini:/etc/pgbouncer/pgbouncer.ini -p 5432:5432 edoburu/pgbouncer
Wrote authentication credentials to /etc/pgbouncer/userlist.txt
Create pgbouncer config in /etc/pgbouncer
grep: /etc/pgbouncer/userlist.txt: No such file or directory
/entrypoint.sh: line 58: can't create /etc/pgbouncer/pgbouncer.ini: Is a directory
When I start with only username and password it works, however I want this to take multiple users hence I was trying to run this with external configuration file option.
The text was updated successfully, but these errors were encountered: