Thread: pre-configure configuration for use in Docker environment for development

pre-configure configuration for use in Docker environment for development

From
Kermit De Kikker
Date:
Hi,

We have a docker-compose.yml configuration file for development purposes. This docker-compose.yml does not assume any local volumes and does not persist any data. After a docker-compose restart, everything is restarted from scratch.

I want to add pgAdmin service to docker-compose.yml. For convenience of the developer, it would be useful if the servers credentials (IP, login, password, ...) are already present in the pgAdmin configuration. This way, the developer does not have to add a server in pgAdmin each time.

Is this possible?

Thank you.


On Wed, Jan 10, 2018 at 12:54 PM, Kermit De Kikker <kermit.de.kikker.kwak@gmail.com> wrote:
Hi,

We have a docker-compose.yml configuration file for development purposes. This docker-compose.yml does not assume any local volumes and does not persist any data. After a docker-compose restart, everything is restarted from scratch.

I want to add pgAdmin service to docker-compose.yml. For convenience of the developer, it would be useful if the servers credentials (IP, login, password, ...) are already present in the pgAdmin configuration. This way, the developer does not have to add a server in pgAdmin each time.

Is this possible?

Not at present I'm afraid.
 
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Re: pre-configure configuration for use in Docker environment for development

From
Kermit De Kikker
Date:
On Wed, Jan 10, 2018 at 2:05 PM, Dave Page <dpage@pgadmin.org> wrote:


On Wed, Jan 10, 2018 at 12:54 PM, Kermit De Kikker <kermit.de.kikker.kwak@gmail.com> wrote:
Hi,

We have a docker-compose.yml configuration file for development purposes. This docker-compose.yml does not assume any local volumes and does not persist any data. After a docker-compose restart, everything is restarted from scratch.

I want to add pgAdmin service to docker-compose.yml. For convenience of the developer, it would be useful if the servers credentials (IP, login, password, ...) are already present in the pgAdmin configuration. This way, the developer does not have to add a server in pgAdmin each time.

Is this possible?

Not at present I'm afraid.

Dave, thanks for feedback. I took the opportunity to file this feature request, see https://redmine.postgresql.org/issues/2995. Hopefully this is fine. Let me know if I should change something.
 
 
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company