Database - Postgres (PostgreSQL)

> Database

2 - Installation

Docker

docker run ^
    --name postgres ^
    -e POSTGRES_PASSWORD=welcome ^
    -p 5432:5432 ^
    -d ^
    postgres

where:

  • POSTGRES_USER is the database user (default postgres)
  • POSTGRES_PASSWORD is the database user password (mandatory for remote access)
  • POSTGRES_DB is the database name (default to POSTGRES_USER)
Advertising

3 - Documentation