default base folder - docker compose

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
dennis071nl
Newbie
Newbie
Posts: 3
Joined: March 2nd, 2020, 4:07 pm

default base folder - docker compose

Post 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
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: default base folder - docker compose

Post 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..
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
dennis071nl
Newbie
Newbie
Posts: 3
Joined: March 2nd, 2020, 4:07 pm

Re: default base folder - docker compose

Post by dennis071nl »

Hi, yeah, linuxserver image present..! Something like a tutorial how to fix this?
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: default base folder - docker compose

Post 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 \"
dennis071nl
Newbie
Newbie
Posts: 3
Joined: March 2nd, 2020, 4:07 pm

Re: default base folder - docker compose

Post 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...
User avatar
jcfp
Release Testers
Release Testers
Posts: 989
Joined: February 7th, 2008, 12:45 pm

Re: default base folder - docker compose

Post 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 /.
Post Reply