https://github.com/mmurygin/pg-compose
This repo contains compose file for running postgres with pgAdmin and psql
https://github.com/mmurygin/pg-compose
docker docker-compose pgadmin4 postgres psql
Last synced: about 1 month ago
JSON representation
This repo contains compose file for running postgres with pgAdmin and psql
- Host: GitHub
- URL: https://github.com/mmurygin/pg-compose
- Owner: mmurygin
- Created: 2017-10-14T04:34:36.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-01T08:48:53.000Z (over 8 years ago)
- Last Synced: 2025-04-07T14:47:44.689Z (11 months ago)
- Topics: docker, docker-compose, pgadmin4, postgres, psql
- Homepage:
- Size: 1000 Bytes
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pg-compose
This repo contains compose file for running postgres with pgAdmin and psql
## Getting started
1. Install docker
```
sudo curl -sSL https://get.docker.com/ | sh && sudo gpasswd -a ${USER} docker
```
1. Logout and login
1. [Install docker-compose](https://github.com/docker/compose/releases)
1. Run postgres and pgAdmin
```
docker-compose up
```
1. Navigate to `localhost:5050`
1. Run psql
```
docker-compose run --rm psql
```