Re: Docker container - servers.json

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Docker container - servers.json
Дата
Msg-id CA+OCxoxXtheXvtK151wbD4h=zE0yuYsQNBcu=1C1tdG5VV3HOw@mail.gmail.com
обсуждение исходный текст
Ответ на Docker container - servers.json  (Ashish Chandra <ashish.cppdev@gmail.com>)
Список pgadmin-support
Hi

On Tue, Nov 2, 2021 at 7:09 PM Ashish Chandra <ashish.cppdev@gmail.com> wrote:
Hi,

According to https://www.pgadmin.org/docs/pgadmin4/development/container_deployment.html having a files servers.json in the /pgadmin4 folder should enable server info to be pre-loaded into pgadmin4 when it launches.

However, I am unable to see any impact from having this file. Here are the docker logs from the container:

...
 
Here is my Dockerfile:

FROM dpage/pgadmin4:latest
EXPOSE 80
COPY --chown=pgadmin:pgadmin servers.json .


Won't that copy servers.json into /, not /pgadmin4/?

In any case, this seems like an odd way to do this - any reason not to just map the file as Aditya suggested? I suppose if you're distributing the container to others it might make sense.

--

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

Предыдущее
От: Aditya Toshniwal
Дата:
Сообщение: Re: Docker container - servers.json
Следующее
От: Fahar Abbas
Дата:
Сообщение: Re: help me solve the error