Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nicolasfiz/docker-postgresql

Template to dockerize postgresql and pgadmin 🐳🐘
https://github.com/nicolasfiz/docker-postgresql

Last synced: about 1 month ago
JSON representation

Template to dockerize postgresql and pgadmin 🐳🐘

Awesome Lists containing this project

README

        

# Docker Postgresql 🐳
This is a template to use when you need a postgresql database but you're too lazy to install it. There is a directory that includes just postgres and other that includes postgres+pgadmin

## Postgres 🐘
Currently it's using the image `postgres:15.2-alpine`

`Environment` variables are:
- User: root
- Password: root

`Ports` 5432 : 5432

It's also using a `volume`

## Pgadmin 📋

Currently it's using the image `dpage/pgadmin4`

`Environment` variables are:
- Email: [email protected]
- Password: admin

`Ports` 5431 : 80

It's also using a `volume`

## Commands 🚀

⚡ Just go into the project and exect

```
docker-compose up
```

🛑 To stop it

```
docker-compose down
```