Skip to article
Documentation

docker-compose.yml

Linked repository file from this build.

services:
  db:
    image: postgres:18
    restart: unless-stopped
    environment:
      POSTGRES_USER: qccrm
      POSTGRES_PASSWORD: development
      POSTGRES_DB: qccrm
    ports:
      - 127.0.0.1:5432:5432
    volumes:
      - postgres_data:/var/lib/postgresql
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U qccrm -d qccrm"]
      interval: 1s
      timeout: 5s
      retries: 10
volumes:
  postgres_data: