Seedbox version 2 is here! 🔥
Since there are some breaking changes and a configuration structure migration, a major version was mandatory.
- Configuration change to new YAML format
- Run
cd tools/config-updater && ./config-updater.sh
to migrate your old services.conf to the new config.yaml format. ⚠️ jq
(v1.5+) andyq
(v4+) are now requirements- Easier feature switches
- If a service is missing, it won't be enabled by default like before. The config is now more declarative.
- Traefik routing rules are now dynamically generated in a file in Traefik config directory, so no more Docker labels. They became hard to maintain due to all possibilities caused by VPN support or custom files for example.
- New config syntax documented in the Configuration Guide.
- Run
- VPN support
- With
gluetun
service, you can now place any service behind a VPN. - Default gluetun configuration is Wireguard "custom" mode, but see below...
- More details in the VPN section of the Configuration Guide.
- With
- Support custom services and docker-compose yaml files
- Place a docker-compose yaml file in
services/custom/
directory, add a service in your config.yaml specifying acustomFile
, and you are set. - Support Plex hardware transcoding using a custom-file, already available in the
services
directory (just specify acustomFile
on plex service - see config.sample.yaml). - More details in the Configuration Guide.
- Place a docker-compose yaml file in
- Support arbitrary Traefik rules
- Place a Traefik YAML in
samples/custom-traefik/
directory, it will be copied in the Traefik configuration folder. - Ideal to forward traffic to other services which do not belong to this seedbox.
- More details in this section of the Configuration Guide
- Place a Traefik YAML in
- Disable certificates for some domains
- Using the flag
httpOnly: true
on a service, access any service in unsecure mode, delegating certificates management on a higher level (reverse proxy, firewall...). More details in the Configuration Guide.
- Using the flag
- Multiple hosts for any services
- The new config structure allows for more customization, for example you can now have many routes on the same service. Let's say, a local unsecured route + a secured one for remote access. Or anything you want.
- More customization
- Such as http authentication which is no more hardcoded but configurable for each service.
- Configurable paths on host for persistent data
- New services
Gluetun
: VPN client (see above)Heimdall
: DashboardReadarr
: Ebook and comic monitorKomga
: Comic Book ManagerKavita
: Comic / Book ManagerSyncthing
: P2P files synchronization
⚠️ Docker compose v2.2+ is now required
And also:
update-all.sh
is now calledrun-seedbox.sh
but its purpose is the same.- More checks in
run-seedbox.sh
. For example, throws an error if Flood is enabled but not Deluge, or if VPN is enabled on a service but the VPN client is not. - You can now specify where your data lives on your host through new environments variables (see .env.sample).
- This change is backward-compatible as the
run-seedbox.sh
script will default to the old "/data/torrents" and "/data/config" paths if these variables are not set.
- This change is backward-compatible as the
networks:
section is now aligned with the new docker compose syntax⚠️ Nextcloud-db has moved. It is now in/data/config
(or somewhere else if you set the new variables for host paths) (see below how to mitigate the errors). See the dedicated section below.- Disable Traefik access logs
- New flag
--debug
forrun-seedbox.sh
to see what is happening during configuration parsing. - Releases are named after LOST mythology. I exhausted all the characters of Person of Interest, so that's time for a change. Only geeks will get it, I know.
📖 Do not forget to read the Configuration Guide.
cd tools/config-updater
./config-updater.sh
# Check the content of your .env file (in comparison with .env.sample which brings new variables)
# Also, check your generated config.yaml and read the config documentation (in doc/configuration.md)
cd ../..
./run-seedbox.sh
When everything runs smoothly, you can delete your old configuration file which is now useless:
rm -f services.conf
⚠️ Also, please make sure you have read the next section about Nextcloud Database location.
Since commit e4ede925a8ce09b177206f30487a889da9e10334, nextcloud-db directory (mapped on /var/lib/mysql) has moved from
/data/nextcloud-db
to $HOST_CONFIG_PATH/nextcloud-db
(/data/config/nextcloud-db by default).
To ensure a smooth transition, you will have to move the directory nextcloud-db into the correct new location, then run some commands to fix the schema:
mv /data/nextcloud-db/ /data/config/
./run-seedbox.sh
source .env
docker exec -it nextcloud-db mysql_upgrade -u root -p${MYSQL_ROOT_PASSWORD}
docker restart nextcloud nextcloud-db
Ensure everything runs nicely by looking at nextcloud-db and nextcloud logs, and by accessing your Nextcloud web UI.