# Development overrides for docker-compose.yml
# Usage: docker compose -f docker-compose.yml -f docker-compose.dev.yml up

services:
  postgres:
    environment:
      POSTGRES_USER: mosaic
      POSTGRES_PASSWORD: mosaic_dev_password
      POSTGRES_DB: mosaic
    ports:
      - "5432:5432"
    # Enable query logging for development
    command:
      - "postgres"
      - "-c"
      - "log_statement=all"
      - "-c"
      - "log_duration=on"

  valkey:
    ports:
      - "6379:6379"
