Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kaltsoon/postgresql-quickstart

Docker setup for PostgreSQL and pgAdmin
https://github.com/kaltsoon/postgresql-quickstart

Last synced: 12 days ago
JSON representation

Docker setup for PostgreSQL and pgAdmin

Awesome Lists containing this project

README

        

# 🐘💨 PostgreSQL quickstart

This repository contains a [Docker](https://www.docker.com/) setup for [PostgreSQL](https://www.postgresql.org/) and [pgAdmin](https://www.pgadmin.org/).

## Getting started

1. Clone this repository by running the `git clone https://github.com/Kaltsoon/postgresql-quickstart.git` (requires [git](https://git-scm.com/)) or click the "Code" button in the GitHub repository page and choose "Download ZIP".
2. Open the directory in the command-line an run the `docker compose up` command. The setup takes a minute or two
3. Open pgAdmin by visiting in web browser. Log in using the email "[email protected]" and password "password". You don't have to worry about poor choice of password, because the database won't be accessible outside your computer

You can shut down PostgreSQL and pgAdmin by typing Ctrl + c in the command-line window in which you ran the `docker compose up` command. Running the `docker compose up` command again, will restart the setup. No data will be lost if you shut down the setup.