version: '3.8'
services:
  postgres:
    image: postgres:16-alpine
    container_name: sarahermes-db
    restart: unless-stopped
    environment:
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: postgres
      POSTGRES_DB: sarahermes
    ports:
      - '5432:5432'
    volumes:
      - sarahermes_pg:/var/lib/postgresql/data

volumes:
  sarahermes_pg:
