Re: pgAdmin in Docker: independent users storage

Поиск
Список
Период
Сортировка
От Vladimir Ryabtsev
Тема Re: pgAdmin in Docker: independent users storage
Дата
Msg-id CAMqTPqnM3Cyw_3rb1yD5_1G4V8-BTJtvEDJ5F2-2u0+e5otH1w@mail.gmail.com
обсуждение исходный текст
Ответ на SV: pgAdmin in Docker: independent users storage  (Henrik Uggla <Henrik.Uggla@kristianstad.se>)
Ответы Re: pgAdmin in Docker: independent users storage  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-support
I am using dpage/pgadmin4, which is referenced from https://www.pgadmin.org/download/pgadmin-4-container/
Does it have similar env. var.?
Will try your image anyway.

Regards,
Vlad

пт, 24 авг. 2018 г. в 1:17, Henrik Uggla <Henrik.Uggla@kristianstad.se>:
Yes, put the Sqlite file (by default named pgadmin4.db) on a shared persistent volume on f ex Rancher-NFS. I don't know which Docker image you are using but if you use mine (huggla/pgadmin-alpine), then you're able to change the location of the sqlite file inside the container by setting the environment variable VAR_param_SQLITE_PATH.

Cheers,
Henrik
________________________________________
Från: Vladimir Ryabtsev <greatvovan@gmail.com>
Skickat: den 24 augusti 2018 01:25:37
Till: pgadmin-support@lists.postgresql.org
Ämne: pgAdmin in Docker: independent users storage

Hi,

I am running pgAdmin in Rancher, which means the container, in some circumstances, can be moved to another host. In this case I lose all users as well as users' settings (set-up server connections), which in turn implies I have to re-create users and they have to set up everything again.

To make pgAdmin tolerant to restarts and moves, I guess I need to put it's database on some volume that would be mounted to container on any host.

How to do it?

Best regards,
Vladimir

В списке pgadmin-support по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: PgAdmin4 stopped working: "The application server could not be contacted."
Следующее
От: Vladimir Ryabtsev
Дата:
Сообщение: Re: pgAdmin in Docker: independent users storage