DEV Community

abhishekjaindba
abhishekjaindba

Posted on

Run Pgadmin on Docker Compose

To run pgAdmin on Docker Compose, you can follow these steps:

Install Docker and Docker Compose on your system if you haven’t already.

Create a docker-compose.yml file in a new directory and add the following contents to it:

version: '3'
services:
pgadmin:
image: dpage/pgadmin4
environment:
- PGADMIN_DEFAULT_EMAIL=pgadmin@example.com
- PGADMIN_DEFAULT_PASSWORD=secret
ports:

Read full: https://thedbadmin.com/run-pgadmin-on-docker-compose

Top comments (0)