Gameyfin logo

Gameyfin

Manage your video games


Gameyfin turns a disorganized collection of video games into a beautiful, easy-to-navigate library accessible from any browser. It scans your game folders, downloads metadata and cover images, and lets you download games and share the library with friends and family. Supports OAuth2/OpenID Connect SSO, themes and plugins, and runs in a container.

Gameyfin Docker Compose example

Self-host Gameyfin on your own server, homelab, or VPS starting from this Docker Compose example. It runs Gameyfin in Docker containers using the official ghcr.io/gameyfin/gameyfin:latest image, with persistent volumes and automatic restarts preconfigured. Review the environment variables and adjust them to your setup, save the file as compose.yml (or docker-compose.yml), and start the stack with docker compose up -d.

services:
  gameyfin:
    image: ghcr.io/gameyfin/gameyfin:latest
    restart: unless-stopped
    environment:
      # Key that encrypts stored passwords and secrets; must be base64 of 16, 24 or 32 bytes.
      # This is an insecure shared default — replace it with your own: openssl rand -base64 32
      APP_KEY: "RTbwdZaoYmArh7wpIy67zkbY9jJx0qoD7sjsk86mWTs="
      # Public URL of your Gameyfin instance (e.g. https://gameyfin.example.com). Used for links in notification emails and the first-run setup log line.
      APP_URL: ""
    volumes:
      - db:/opt/gameyfin/db
      - data:/opt/gameyfin/data
      - backups:/opt/gameyfin/backups
      - plugindata:/opt/gameyfin/plugindata
      - plugins-installed:/opt/gameyfin/plugins-installed
      - logs:/opt/gameyfin/logs
      # Game library — add /games as a library folder in the Gameyfin UI
      - games:/games

volumes:
  db:
  data:
  backups:
  plugindata:
  plugins-installed:
  logs:
  games:

Prefer a managed setup? WinterFlow installs, configures, and updates Gameyfin for you using this same Docker Compose configuration.