Install

Install Kryspal Media.

One command, or one Compose file on a NAS.

Not sure yet? Try the demo first. Open the live demo

One command

On a Linux host or VPS that already has Docker. It writes the compose file, starts it and waits until the server is healthy.

curl -fsSL https://media.kryspal.net/install.sh | bash -s -- --media /srv/media

Replace /srv/media with your media folder. Run it again to upgrade.

For more than one media folder, repeat --media. Each folder is mounted under /media plus its full path (/volume1/movies becomes /media/volume1/movies); pick them when you create a library.

curl -fsSL https://media.kryspal.net/install.sh | bash -s -- \
  --media /volume1/movies \
  --media /volume2/tv

NAS (Synology, QNAP and other container managers)

  1. Copy the compose file below and paste it into the container manager’s Compose project.
  2. Replace /path/to/media with your media folder.
  3. Start it, then open http://<address>:5797 and finish the setup wizard.
services:
  server:
    image: kryspal/kryspalmedia:latest
    restart: unless-stopped
    stop_grace_period: 60s
    ports:
      - "5797:5797" # LAN
      - "5798:5798" # WAN
      # LAN discovery needs host network
    environment:
      EXTERNAL_HTTP_ADDR: ":5798" # WAN
    volumes:
      - /path/to/media:/media
      # 2+ folders: use these instead
      # - /mnt/movies:/media/mnt/movies
      # - /mnt/tv:/media/mnt/tv
      - data:/var/lib/mediaserver
      - db:/var/lib/kryspal-db:ro
    depends_on:
      - postgres
  postgres:
    image: kryspal/kryspalmedia-postgres:16
    restart: unless-stopped
    stop_grace_period: 60s
    volumes:
      - pgdata:/var/lib/postgresql/data
      - db:/var/lib/kryspal-db
volumes:
  data:
  pgdata:
  db:
More options
  • To read the script before running it: curl -fsSL https://media.kryspal.net/install.sh -o install.sh, then less install.sh, then bash install.sh --media /srv/media.
  • --dir changes where the compose file is kept (default /opt/kryspal-media).
  • --install-docker lets the script install Docker with Docker’s official installer.
  • Data lives in the Docker volumes kryspal-media_data, kryspal-media_pgdata and kryspal-media_db.
  • On an upgrade --media is ignored; to change the folders, edit compose.yaml.
  • On a NAS, upgrade by pulling the new image and recreating the project; do not use the one-command script there.
  • To watch away from home, see Remote access; put HTTPS in front of the server, never forward port 5797.
  • More media folders, read-only folders and file permissions are in the install documentation.
Moving your library? Read the migration guide