-
i tried following the wiki but my knowledge is limited and i was not able to set it up, please help |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 11 replies
-
What did you try and what specifically are you having issues with? |
Beta Was this translation helpful? Give feedback.
-
Yea, I'm not looking to explain how to use docker or docker-compose. There are any number of use cases that I can't anticipate and there are better resources available than I care to rewrite here. Either way, hopefully this can help get you on the right path. Best of luck! Observations:
Suggestions:
Examples:Not tested. # using a config file
mnamer:
image: jkwill87/mnamer
volumes:
- /media/movies:/mnt/movies
- /media/episodes:/mnt/episodes
- mnamer-config.json:/mnt/.mnamer-v2.json
# overriding command
mnamer:
image: jkwill87/mnamer
volumes:
- /media/movies:/mnt/movies
- /media/episodes:/mnt/episodes
command: --batch --episode-directory=/mnt/episodes --movie-directory=/mnt/movies --movie-format='{name} ({year}){extension}' |
Beta Was this translation helpful? Give feedback.
-
thank u, i will give it a try |
Beta Was this translation helpful? Give feedback.
-
Correction to the command argument ( |
Beta Was this translation helpful? Give feedback.
-
I'm running with a Task Scheduler script as follows: cd /volume1/video/Scripts
docker-compose run --rm mnamer -b -r /mnt/new --episode-directory=/mnt/episodes --movie-directory=/mnt/movies in mnamer:
image: jkwill87/mnamer
volumes:
- /volume1/video/Movies:/mnt/movies
- /volume1/video/TV:/mnt/episodes
- /volume1/video/_New:/mnt/new I guess I could combine into one config This prevents errors that the "Docker container stopped unexpectedly" in the DSM notifications. |
Beta Was this translation helpful? Give feedback.
Yea, I'm not looking to explain how to use docker or docker-compose. There are any number of use cases that I can't anticipate and there are better resources available than I care to rewrite here. Either way, hopefully this can help get you on the right path. Best of luck!
Observations:
command
doesn't seem at all related to mnamer, I assume that's for some other service in your docker-compose file.restart: unless-stopped
. Just want to make sure that you know that this service isn't a deamon, its run once then exists.Suggestions: