An open API service indexing awesome lists of open source software.

https://github.com/nemeslaszlo/pgadmin-and-postgresql-docker-compose

This repository contains a docker-compose configuration to run PostgreSQL and PgAdmin in containerized circumstances.
https://github.com/nemeslaszlo/pgadmin-and-postgresql-docker-compose

docker-compose dokcer pgadmin postgresql sql

Last synced: about 2 months ago
JSON representation

This repository contains a docker-compose configuration to run PostgreSQL and PgAdmin in containerized circumstances.

Awesome Lists containing this project

README

        

# PgAdmin-and-PostgreSQL-Docker-Compose

This repository contains a docker-compose configuration to run PostgreSQL and PgAdmin in containerized circumstances.

## Quick Start
* Clone or download this repository
* Go inside of directory
* Run this command `docker-compose up -d` or `docker-compose up`

## Environments
This Compose file contains the following environment variables:

* `POSTGRES_USER` the default value is **postgres**
* `POSTGRES_PASSWORD` the default value is **chanage_this_password**
* `PGADMIN_PORT` the default value is **5050**
* `PGADMIN_DEFAULT_EMAIL` the default value is **[email protected]**
* `PGADMIN_DEFAULT_PASSWORD` the default value is **admin**

## Access to postgres:
* `localhost:5432`
* **Username:** postgres (as a default)
* **Password:** chanage_this_password (as a default)

## Access to PgAdmin:
* **URL:** `http://localhost:5050`
* **Username:** [email protected] (as a default)
* **Password:** admin (as a default)

## Add a new server in PgAdmin:
* **Host name/address** `postgres`
* **Port** `5432`
* **Username** as `POSTGRES_USER`, by default: `postgres`
* **Password** as `POSTGRES_PASSWORD`, by default `chanage_this_password`