• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Off Topic General Discussion Newbie in need of help for backup

     
    • 0 Vote(s) - 0 Average

    Newbie in need of help for backup

    pol77
    Offline

    Junior Member

    Posts: 17
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    Country:United Kingdom
    #19
    2024-06-18, 07:02 PM (This post was last modified: 2024-06-18, 07:11 PM by pol77. Edited 2 times in total.)
    Thank you very much!
    I have registered on the QNAP forum.

    When I created the container I used the QNAP Container Station GUI, but now I'm ttrying to make a yaml file configuration, such as the one you included above...

    This is what I have so far, that may work, according to various sources online:

    Code:
    version: "3.9"
    services:
      jellyfin:
        image: jellyfin/jellyfin
        container_name: PolFlix
        user: 1000:1000
        network_mode: "host"
    devices:
        - /dev/nvidia0:/dev/nvidia0
        - /dev/nvidiactl:/dev/nvidiactl
          /dev/nvidia-uvm:/dev/nvidia-uvm
    environment:
          - VERSION=docker
          - PATH=/usr/local/cuda/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
          - NVIDIA_VISIBLE_DEVICES=all
          - NVIDIA_DRIVER_CAPABILITIES=all
    ports:
          - 32666:8096
          - 32667:8920
    volumes:
          - type: bind
            source: /Container/jellyfin/config
            target: /config
          - type: bind
            source: /Container/jellyfin/cache
            target: /cache
          - type: bind
            source: /Storage/Movies
            target: /Movies
            read_only: true
    deploy:
          resources:
            reservations:
              devices:
                - driver: nvidia
                  count: all
                  capabilities:
                    - gpu
    restart: unless-stopped

    When I try to validate it, I get the error message:
    Invalid Compose YAML Code
    validate compose config failed: operateApp action [convert] failed: exit status 15: volumes must be a mapping

    I also tried the volumes part like this:
    Code:
    volumes:
          - /Container/jellyfin/config:/config
          - /Container/jellyfin/cache:/cache
          - /Storage/Movies:/Movies:ro
    But I got the same error.

    I guess I need to map the volumes with a different command. Any ideas?
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Newbie in need of help for backup - by pol77 - 2024-06-14, 08:19 PM
    RE: Newbie in need of help for backup - by TheDreadPirate - 2024-06-14, 08:37 PM
    RE: Newbie in need of help for backup - by pol77 - 2024-06-14, 08:43 PM
    RE: Newbie in need of help for backup - by TheDreadPirate - 2024-06-14, 08:54 PM
    RE: Newbie in need of help for backup - by pol77 - 2024-06-14, 09:09 PM
    RE: Newbie in need of help for backup - by TheDreadPirate - 2024-06-14, 09:30 PM
    RE: Newbie in need of help for backup - by pol77 - 2024-06-14, 09:37 PM
    RE: Newbie in need of help for backup - by TheDreadPirate - 2024-06-14, 10:48 PM
    RE: Newbie in need of help for backup - by pol77 - 2024-06-14, 10:53 PM
    RE: Newbie in need of help for backup - by TheDreadPirate - 2024-06-14, 11:02 PM
    RE: Newbie in need of help for backup - by pol77 - 2024-06-18, 04:51 PM
    RE: Newbie in need of help for backup - by TheDreadPirate - 2024-06-18, 05:01 PM
    RE: Newbie in need of help for backup - by pol77 - 2024-06-18, 05:14 PM
    RE: Newbie in need of help for backup - by TheDreadPirate - 2024-06-18, 05:56 PM
    RE: Newbie in need of help for backup - by pol77 - 2024-06-18, 06:12 PM
    RE: Newbie in need of help for backup - by TheDreadPirate - 2024-06-18, 06:17 PM
    RE: Newbie in need of help for backup - by pol77 - 2024-06-18, 06:34 PM
    RE: Newbie in need of help for backup - by TheDreadPirate - 2024-06-18, 06:39 PM
    RE: Newbie in need of help for backup - by pol77 - 2024-06-18, 07:02 PM
    RE: Newbie in need of help for backup - by TheDreadPirate - 2024-06-18, 07:18 PM
    RE: Newbie in need of help for backup - by pol77 - 2024-06-18, 07:31 PM
    RE: Newbie in need of help for backup - by TheDreadPirate - 2024-06-18, 07:40 PM
    RE: Newbie in need of help for backup - by pol77 - 2024-06-18, 07:45 PM
    RE: Newbie in need of help for backup - by pol77 - 2024-06-19, 06:16 AM
    RE: Newbie in need of help for backup - by TheDreadPirate - 2024-06-19, 03:23 PM
    RE: Newbie in need of help for backup - by pol77 - 2024-06-19, 03:47 PM
    RE: Newbie in need of help for backup - by Efficient_Good_5784 - 2024-06-19, 04:13 PM
    RE: Newbie in need of help for backup - by TheDreadPirate - 2024-06-19, 04:10 PM
    RE: Newbie in need of help for backup - by pol77 - 2024-06-19, 04:15 PM
    RE: Newbie in need of help for backup - by pol77 - 2024-06-19, 07:00 PM
    RE: Newbie in need of help for backup - by TheDreadPirate - 2024-06-19, 07:07 PM
    RE: Newbie in need of help for backup - by pol77 - 2024-06-19, 08:13 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode