services:
  postgres:
    image: postgres:17-alpine
    environment:
      POSTGRES_USER: ogb
      POSTGRES_PASSWORD: ogb_dev_password
      POSTGRES_DB: ogb_web
    ports:
      - '5432:5432'
    volumes:
      - postgres_data:/var/lib/postgresql/data
    restart: unless-stopped

volumes:
  postgres_data:
