version: '3.9'
services:
  postgres:
    image: postgres:16
    container_name: etd-player-db
    restart: unless-stopped
    environment:
      POSTGRES_DB: etd_player
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: postgres
    ports:
      - "5432:5432"
    volumes:
      - postgres_data:/var/lib/postgresql/data
volumes:
  postgres_data:
