Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 🐳🐘
- Host: GitHub
- URL: https://github.com/nicolasfiz/docker-postgresql
- Owner: nicolasfiz
- Created: 2023-03-15T22:02:06.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-03-21T10:09:49.000Z (almost 2 years ago)
- Last Synced: 2024-11-06T03:44:05.513Z (3 months ago)
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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
```