services:
  postgres:
    image: postgres:16-alpine
    container_name: brandbook_postgres
    restart: unless-stopped
    environment:
      POSTGRES_USER: brandbook
      POSTGRES_PASSWORD: brandbook
      POSTGRES_DB: brandbook
    ports:
      - "5433:5432"
    volumes:
      - postgres_data:/var/lib/postgresql/data

volumes:
  postgres_data:
