Re: Container deploy & PSQL tool
От | Aditya Toshniwal |
---|---|
Тема | Re: Container deploy & PSQL tool |
Дата | |
Msg-id | CAM9w-_nK1uwnnXpCEz3LmkC4M_HnkWCtaUWYHzdyBJUrfHL8PA@mail.gmail.com обсуждение исходный текст |
Ответ на | Container deploy & PSQL tool (Paolo Saudin <paolosaudin@gmail.com>) |
Ответы |
Re: Container deploy & PSQL tool
Re: Container deploy & PSQL tool |
Список | pgadmin-support |
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=user@domain.com' \
-e 'PGADMIN_DEFAULT_PASSWORD=SuperSecret' \
-d dpage/pgadmin4
On Mon, Aug 16, 2021 at 10:58 AM Paolo Saudin <paolosaudin@gmail.com> wrote:
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 file or directory'. Is it possible to map this directory as well?Last question, where can I create a .psqlrc file?Than you,Paolo Saudin
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"
В списке pgadmin-support по дате отправления: