Page 1 of 1
default base folder - docker compose
Posted: March 2nd, 2020, 4:11 pm
by dennis071nl
Hi guys,
Just finished setting up SAB on my docker system. I want to direct downloads to my external harddrive which is outside of the /config folder.
I don't know how to enter the -f command in docker compose file...
Any directions??
Thanks, Dennis
Re: default base folder - docker compose
Posted: March 3rd, 2020, 2:10 pm
by safihre
Arw you using the standard linuxserver.io Docker images we suggest? They should include this, I think. Although I'm not a Docker person myself..
Re: default base folder - docker compose
Posted: March 4th, 2020, 3:12 am
by dennis071nl
Hi, yeah, linuxserver image present..! Something like a tutorial how to fix this?
Re: default base folder - docker compose
Posted: March 4th, 2020, 6:54 am
by sander
https://hub.docker.com/r/linuxserver/sabnzbd tells it all.
Focus on "-v path to downloads:/downloads \",
so, for example
"-v /media/diskstation/downloads:/downloads \"
Re: default base folder - docker compose
Posted: March 5th, 2020, 9:49 am
by dennis071nl
I set the path to the download folder in the docker-compose file , but base config folder stays /config.
downloads don't end up on my mounted external disk...
Re: default base folder - docker compose
Posted: March 6th, 2020, 6:10 am
by jcfp
You can set all directories (download/incomplete/category/script/etc.) in sab to any directory of your choice by specifying an absolute (full) path. In linux systems such as your ubuntu system inside docker, a path is considered absolute if it starts with a /.