| From: | Dave Page <dpage(at)pgadmin(dot)org> |
|---|---|
| To: | Oygun Josef <josef(dot)oygun(at)scania(dot)com> |
| Cc: | "pgadmin-support(at)lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Login form |
| Date: | 2018-09-04 08:28:41 |
| Message-ID: | CA+OCxozmLNYiVjn1Cv_yqo2WQNJYUdVeW7Vr1jpZ2JtFE5Msug@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-support |
On Tue, Sep 4, 2018 at 8:53 AM, Oygun Josef <josef(dot)oygun(at)scania(dot)com> wrote:
> Hi!
>
>
>
> Is it possible to disable the PGAdmin login form?
>
>
>
> I have the deployment as a docker image on kubernetes.
>
>
>
> https://hub.docker.com/r/dpage/pgadmin4/
>
No, there's no straightforward way of doing this at present. You'd need to
set SERVER_MODE = False in the config before the first time the container
is run (as it affects the config DB that's created at first startup), but
there isn't a simple way to do that at the moment.
You could create a dockerfile to create your own version of the container
that did something like:
----
FROM pgadmin4:latest
COPY config_local.py /pgadmin4
----
Where config_local.py included the SERVER_MODE override.
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Henrik Uggla | 2018-09-04 09:02:10 | SV: Login form |
| Previous Message | Oygun Josef | 2018-09-04 07:53:12 | Login form |