Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 days 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 (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-01T08:48:53.000Z (about 7 years ago)
- Last Synced: 2024-11-10T04:11:21.477Z (about 1 month ago)
- Topics: docker, docker-compose, pgadmin4, postgres, psql
- Homepage:
- Size: 1000 Bytes
- Stars: 2
- Watchers: 1
- 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 login1. [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
```