Hello everyone.

I am deeply struggling to install shotshare on my server using docker-compose.

I followed the instructions and I’ve been talking with someone (from their team I guess) for 2 weeks without finding a solution.

Does anyone have a working docker-compose to share so I can compare it and understand ?

  • A Mouse@midwest.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    8 months ago

    I just did another test.

    You should be able to create the directories manually. I cheated by simply cloning the repo and copying them to the bind mount location like so. You can use the bind mount method like you wanted.

    git clone https://github.com/mdshack/shotshare
    cp -r shotshare/storage/* /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data/
    chown 82:82 -R /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data
    
    • N0x0n@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      8 months ago

      Ugh permission issues…

      I have no idea how the shotshare image works, but an easier method is to specify the puid/pgid in the docker-compose:

      environment:
        - PUID=82
        - PGID=82
      

      If the docker image supports it, the --user flag is also helpful :).

      I know those works with volume mounts, no idea about bind mounts.