# PlayBunch gaming repo – https://playbunch.app
# Put this file and .env into an empty folder, edit .env, then: docker compose up -d
services:
  playbunch-repo:
    image: ghcr.io/playbunch/playbunch-gaming-repo:${PLAYBUNCH_VERSION:-1}
    container_name: playbunch-repo
    restart: unless-stopped
    env_file: .env
    ports:
      # HTTPS for launchers, admin UI and big screen
      - "${HTTPS_PORT:-443}:8443"
      # HTTP: Let's Encrypt challenge + redirect to HTTPS
      - "${HTTP_PORT:-80}:8080"
    volumes:
      # everything lives here: settings, games, images, game files, certificates
      # game files go to ./data/games/<game-id>/files/
      - ./data:/data
