Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 644 Bytes

File metadata and controls

32 lines (26 loc) · 644 Bytes
sidebar_label sidebar_position
Docker Compose
2

Install Dirigent using Docker Compose

:::note

This page is a stub.

:::

Example configuration file

services:
  database:
    image: postgres:${POSTGRES_VERSION:-16}-alpine
    environment:
      POSTGRES_DB: ${POSTGRES_DB:-dirigent}
      # You should definitely change the password
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}
      POSTGRES_USER: ${POSTGRES_USER:-dirigent}
    healthcheck:
      test: ["CMD", "pg_isready"]
      timeout: 5s
      retries: 5
      start_period: 60s
    volumes:
      - ./postgres-data:/var/lib/postgresql/data:rw