AppsDatabasespostgresqlBitnami Postgresql

Bitnami PostgreSQL Image

Directory Structure

    • .env
    • docker-compose.yml

docker-compose.yml

version: '3.1'
 
services:
  postgresql:
    image: bitnami/postgresql:latest
    environment:
      POSTGRES_ROOT_PASSWORD: example
    volumes:
      - /path/to/postgres-persistence:/bitnami/postgres/data  
    # (this is just an example, not intended to be a production configuration)
    restart: always

Resources

GitHub: https://github.com/bitnami/containers/tree/main/bitnami/postgresql

Docker Hub: https://hub.docker.com/r/bitnami/postgresql

Configuration: See the Docker Hub page