services:
  postgres:
    image: postgres:16-alpine
    restart: unless-stopped
    environment:
      POSTGRES_USER: ${POSTGRES_USER:-use2pdf}
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-use2pdf}
      POSTGRES_DB: ${POSTGRES_DB:-use2pdf}
    ports:
      - "5432:5432"
    volumes:
      - use2pdf_postgres_data:/var/lib/postgresql/data

volumes:
  use2pdf_postgres_data:
