Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 439 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 439 Bytes

PostgreSQL

PostgreSQL is open-source relational database.

Launching

To start the Postgres container, run

docker compose up --detach

Accessing

Once the container is running, you can access the database using the psql command-line tool.

PGPASSWORD=postgres psql -h localhost -U postgres -d mydatabase

Teardown

To stop and remove the containers, run

docker compose down --volumes