services:
  voicecat:
    build: .
    image: ghcr.io/org/voicecat:latest
    container_name: voicecat
    restart: unless-stopped
    ports:
      - "8384:8384/tcp"
      - "8384:8384/udp"
    volumes:
      - voicecat-data:/data
    # Override CMD to customise the server name; add --no-guests to require accounts.
    command: ["--data-dir", "/data", "--name", "My VoiceCat Server"]

volumes:
  voicecat-data:
