Re: Container deploy & PSQL tool

2021-08-18 Thread Aditya Toshniwal
Hi Dave, On Wed, Aug 18, 2021 at 12:25 PM Dave Page wrote: > Hi > > On Wed, Aug 18, 2021 at 5:33 AM Aditya Toshniwal < > aditya.toshni...@enterprisedb.com> wrote: > >> Hi Paolo, >> >> I did something like this to mount my host home directory to docker >> /home/pgadmin. .psqlrc defaults to user h

Re: Container deploy & PSQL tool

2021-08-18 Thread Paolo Saudin
Hi, last couple of requests/help if possible: 1. if I paste from clipboard to PSQL TOOL I get the message "To paste data on the PSQL terminal, Clipboard read permission required.". I cannot find a related option in the configuration, may be it's not possible to date. 2. install PSPG into the cont

Re: Container deploy & PSQL tool

2021-08-17 Thread Dave Page
Hi On Wed, Aug 18, 2021 at 5:33 AM Aditya Toshniwal < aditya.toshni...@enterprisedb.com> wrote: > Hi Paolo, > > I did something like this to mount my host home directory to docker > /home/pgadmin. .psqlrc defaults to user home directory which is > /home/pgadmin. Can you try this once ? > > docker

Re: Container deploy & PSQL tool

2021-08-17 Thread Paolo Saudin
Thank you very much, I managed to map the directory and now all is fine! Paolo docker run -p 5050:80 \ -v pga4volume:/var/lib/pgadmin \ -v pga4volume:/home/pgadmin \ -e 'PGADMIN_DEFAULT_EMAIL=u...@domain.com' *\* -e 'PGADMIN_DEFAULT_PASSWORD=SuperSecret' *\*

Re: Container deploy & PSQL tool

2021-08-17 Thread Aditya Toshniwal
Hi Paolo, I did something like this to mount my host home directory to docker /home/pgadmin. .psqlrc defaults to user home directory which is /home/pgadmin. Can you try this once ? docker run -p 80:80 *\* -v /Users/adityatoshniwal:/home/pgadmin \ -e 'PGADMIN_DEFAULT_EMAIL=u...@domain.co

Container deploy & PSQL tool

2021-08-15 Thread Paolo Saudin
Hi, I installed pgAdmin4 with the directory "/var/lib/pgadmin" mapped locally. I then set the PGADMIN_CONFIG_ENABLE_PSQL to True to be able to use the PSQL TOOL. Now when I exit the console with "\q" I get the following error: 'could not save history to file "/home/pgadmin/.psql_history": No such