Docker compose file to run postgres with pgadmin locally. Not suitable for production
All username, passwords are stores in the database.env
file
docker-compose up
for foregrounddocker-compose up -d
to run in background
1 - go to localhost:5050
2 - login with PGADMIN_DEFAULT_EMAIL
and PGADMIN_DEFAULT_PASSWORD
in
database.env
file
3 - Add new Server:
- Hostname: postgres
- Username:
POSTGRES_USER
- Password:
POSTGRES_PASSWORD