All Projects → edv → docker-spotweb

edv / docker-spotweb

Licence: MIT license
Dockerfile to set up Spotweb on ARM (like Raspberry Pi 2/3) and X86 based systems based on Alpine Linux

Programming Languages

Dockerfile
14818 projects
PHP
23972 projects - #3 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to docker-spotweb

Watcher
Stars: ✭ 137 (+522.73%)
Mutual labels:  movies, nzb
Radarr
A fork of Sonarr to work with movies à la Couchpotato.
Stars: ✭ 5,707 (+25840.91%)
Mutual labels:  movies, nzb
exynos-usbdl
Unsigned code loader for Exynos BootROM
Stars: ✭ 57 (+159.09%)
Mutual labels:  arm
archbk
Run Arch Linux ARM on Your Chromebook
Stars: ✭ 56 (+154.55%)
Mutual labels:  arm
WindowsSimplify
Windows 系統優化精簡 / Windows Simplify Project
Stars: ✭ 234 (+963.64%)
Mutual labels:  arm
openHCAN
Hausautomatisierungsloesung auf CAN-Bus Basis.
Stars: ✭ 16 (-27.27%)
Mutual labels:  arm
Boost-for-Android-Prebuilt
boost for android
Stars: ✭ 58 (+163.64%)
Mutual labels:  arm
TMcuSys
🍆 STM32平台uCos与emWin练习项目。图片、音乐、视频、游戏、IAP运行器。
Stars: ✭ 25 (+13.64%)
Mutual labels:  arm
arm-sdk
OS development toolkit for various ARM embedded devices
Stars: ✭ 22 (+0%)
Mutual labels:  arm
utest
Lightweight unit testing framework for C/C++ projects. Suitable for embedded devices.
Stars: ✭ 18 (-18.18%)
Mutual labels:  arm
kernel
An embedded 'Smartwatch' written in Rust
Stars: ✭ 40 (+81.82%)
Mutual labels:  arm
arch-plexpass
Docker build script for Arch Linux base with Plex Pass Media Server installed
Stars: ✭ 21 (-4.55%)
Mutual labels:  movies
zscilib
An open-source scientific computing library for embedded systems running Zephyr OS or standalone.
Stars: ✭ 85 (+286.36%)
Mutual labels:  arm
arch-pi
A simple script automatically installing Arch Linux for the Raspberry Pi.
Stars: ✭ 38 (+72.73%)
Mutual labels:  arm
stremio-addons-list
A community curated list of Stremio Addons
Stars: ✭ 330 (+1400%)
Mutual labels:  movies
DLARM
DLARM: Dissertation for Computer Science Masters Degree at UFRGS
Stars: ✭ 24 (+9.09%)
Mutual labels:  arm
ARM-episodes
Arm Episodes
Stars: ✭ 75 (+240.91%)
Mutual labels:  arm
tensorflow-aarch64
Compiled tensorflow for aarch64 architecture
Stars: ✭ 20 (-9.09%)
Mutual labels:  arm
embedded-in-rust
A blog about Rust and embedded stuff
Stars: ✭ 49 (+122.73%)
Mutual labels:  arm
tinyfont
Text library for TinyGo displays
Stars: ✭ 37 (+68.18%)
Mutual labels:  arm

Dockerfile to set up Spotweb on ARM and X86 based systems

Build Status

The main goal of this Dockerfile is to easily set up Spotweb using Docker on the Raspberry Pi 2/3 (or any compatible ARM chipset) and regular X86 chipsets.

Quick setup using dockerfile

Spotweb always requires a database server (MySQL), the easiest solution is to use the docker-compose setup. The other option is to manually specify an external server using the ENV variables below.

docker run -p 8080:80 --name spotweb -d -v /etc/localtime:/etc/localtime:ro erikdevries/spotweb

Provide one or more of the following environment variables to configure the database server (all optional, default values are given below):

  • DB_ENGINE (default = pdo_mysql)
  • DB_HOST (default = mysql)
  • DB_PORT (default = 3306)
  • DB_NAME (default = spotweb)
  • DB_USER (default = spotweb)
  • DB_PASS (default = spotweb)

E.g. to configure server with host some.external.mysql-server.com and port 6612 do the following:

docker run -p 8080:80 --name spotweb -d -v /etc/localtime:/etc/localtime:ro -e "DB_HOST=some.external.mysql-server.com" -e "DB_PORT=6612" erikdevries/spotweb

Quick setup using docker compose

  • docker-compose -f docker-compose-arm.yml up or docker-compose -f docker-compose-x86.yml up depending on cpu architecture
  • Visit http://localhost:8080
  • Login with username admin and password spotweb
  • Configure usenet server and wait for cronjob to update (runs once every 5 minutes)

Information

  • Spotweb is configured as an open system after running docker-compose up, so everyone who can access can register an account (keep this in mind)
  • If you want to use the Spotweb API, create a new user and use the API key associated with that user
  • If you would like to save nzb files to disk for (e.g.) SABnzbd to be picked up, configure docker-compose.yml to mount e.g. /nzb to some directory where nzb's need to be saved, and configure Spotweb to save NZB's to this directory on disk

Docker setup

I decided on the following setup for this Docker image:

  • Image contains NGINX, PHP 7 and Crond
  • For the database a MySQL 5.x image is used (MySQL 8 can also be used)
  • To prevent having to configure Spotweb manually upgrade-db.php is run to upgrade the database and reset the password for the admin user (so currently the admin always has password spotweb, you can change this after the first login)
  • Crond is used to run the retrieve.php script which updates Spotweb with the latest headers from a configured usenet server, the crontab is run every 5 minutes
  • The only required manual configuration is setting up a valid usenet server
  • Depending on what you like, you can mount the /nzb volume and let Spotweb save nzb's to that directory (e.g. mount /nzb to a folder watched by sabnzbd)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].