Giter Club home page Giter Club logo

Comments (3)

madslundt avatar madslundt commented on June 15, 2024

How does your docker command look like?

from docker-cloud-media-scripts.

Dulanic avatar Dulanic commented on June 15, 2024

docker create --name cloud --restart=always -v /local-media:/local-media:shared v /local-decrypt:/local-decrypt:shared -v /docker/containers/cloud/config:/config -v /downloads/plexdrive​:/chunks -v /var/log:/log -e CLEAR_CHUNK_MAX_SIZE="1000G" -e REMOVE_LOCAL_FILES_WHEN_SPACE_EXCEEDS_GB="1000" -e FREEUP_ATLEAST_GB="500" -e PUID=1000 -e PGID=1000 --privileged --cap-add=MKNOD --cap-add=SYS_ADMIN --device=/dev/fuse madslundt/cloud-media-scripts

Thinking this over, my radarr/sonarr are on docker, so maybe they only see the main dir and not the mount if it had to reconnect ever? Ug if so, I think that kills the idea behind the docker and my idea of plex on host and this on docker wont work either.

Originally I thought it was the load order of the containers so I made a systemd script to wait till the mount was done. I saw the service the container setup for the mount was localx2dmedia.mount. Or was that when I tried to install on the host?


[Unit]
Description=Start containers after the cloud mount is completed.
After=localx2dmedia.mount

[Service]
Type=oneshot
ExecStart=-/usr/bin/docker start hydra
ExecStart=-/usr/bin/docker start sonarr
ExecStart=-/usr/bin/docker start letsencrypt
ExecStart=-/usr/bin/docker start sabnzbd
ExecStart=-/usr/bin/docker start jackett
ExecStart=-/usr/bin/docker start muximux
ExecStart=-/usr/bin/docker start quassel-core
ExecStart=-/usr/bin/docker start plexpy
ExecStart=-/usr/bin/docker start deluge
ExecStart=-/usr/bin/docker start lazylibrarian
ExecStart=-/usr/bin/docker start radarr
ExecStart=-/usr/bin/docker start watchtower
#ExecStop=-/usr/bin/docker stop hydra
#ExecStop=-/usr/bin/docker stop sonarr
#ExecStop=-/usr/bin/docker stop letsencrypt
#ExecStop=-/usr/bin/docker stop sabnzbd
#ExecStop=-/usr/bin/docker stop jackett
#ExecStop=-/usr/bin/docker stop muximux
#ExecStop=-/usr/bin/docker stop quassel-core
#ExecStop=-/usr/bin/docker stop plexpy
#ExecStop=-/usr/bin/docker stop deluge
#ExecStop=-/usr/bin/docker stop lazylibrarian
#ExecStop=-/usr/bin/docker stop radarr
#ExecStop=-/usr/bin/docker stop watchtower



[Install]
WantedBy=multi-user.target

from docker-cloud-media-scripts.

madslundt avatar madslundt commented on June 15, 2024

Has this problem reoccured?

from docker-cloud-media-scripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.