| From: | Henrik Uggla <Henrik(dot)Uggla(at)kristianstad(dot)se> |
|---|---|
| To: | Vladimir Ryabtsev <greatvovan(at)gmail(dot)com>, "pgadmin-support(at)lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org> |
| Subject: | SV: pgAdmin in Docker: independent users storage |
| Date: | 2018-08-24 08:17:44 |
| Message-ID: | 9e351307aeef4d1e8f86a900f608e560@kristianstad.se |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-support |
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(at)gmail(dot)com>
Skickat: den 24 augusti 2018 01:25:37
Till: pgadmin-support(at)lists(dot)postgresql(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Rolf Brandt | 2018-08-26 12:59:34 | pgadmin3 in postgresql 9.5.14 |
| Previous Message | Евгений Славов | 2018-08-24 05:04:34 | Re: Problems with PgAdmin 4 |