Install docker SpotWeb Synology

In this install SpotWeb Docker Synology. Let’s install SpotWeb on a Synology system via Docker.

SpotWeb is a website connected to the SpotWeb network. If someone here has added something to this SpotNet network, you can download the nzb file. You can also set SpotWeb as a Newznab server, so you can automatically download from the newsgroups.

Install Docker for SpotWeb

If you have not yet installed the Docker program on your Synology. Then you have to install it first.

Open your Synology’s page.

Go to the Packe center.

install docker on a synology spotweb

Go to the All Packages tab. Now search for Docker. And then click Install.

Network Bridge Create SpotWeb

Now open docker

SpotWeb docker network bridge

Go to Network and then Add.

Create SpotWeb docker network bridge

It is best to copy the above information, then this tutorial is easier to follow.

You must create a network bridge otherwise you may run into problems with SpotWeb’s default port 80.

Install MariaDB for SpotWeb Docker

We need a database to store SpotWeb’s data. We therefore first need to install MariaDb for SpotWeb.

Synology Menu DSM7

Click on the icon above on the left.

Docker dsm synology

Type Docker. And open Docker.

add synology Docker Image

Go to Container. Click Create. Then Add. Then click Add from URL

SpotWeb docker maria db link

Enter the following url https://hub.docker.com/_/mariadb

Install SpotWeb Docker latest version mariadb

Select latest. And then Select.

SpotWeb docker mariadb

Go to Image. Select MariaDB , and click Start.

Select SpotWeb docker bridge

Select Bridge.

Then Next. Do not use the Use the same network as the Docker host option. You cannot then change the port of SpotWeb. And this is standard 80 which often gives a conflict.

SpotWeb docker mariadb settings

Turn on Auto restart here. So that the database is started when you start your Synology.

Go to Advanced Settings.

SpotWeb docker environment variable

Click on add, and add the values below.

MYSQL_ROOT_PASSWORDThis is the main database password. You probably never need this one.
TZ
This is the time zone for the Netherlands, this is Europe/Amsterdam. If you live in a different time zone, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
MYSQL_DATABASEThe name of the database, for example, spotweb
MYSQL_USERthe username to log in to the database
MYSQL_PASSWORDThe password for the database

It is important that you save the above data somewhere. You’ll need them in a minute.

Click Save. And then Next.

Click Nextagain.

SpotWeb docker port setup database

Change Auto to 3306. See the screenshot above. Click Next.

SpotWeb docker volume settings

Click Next.

SpotWeb docker mariadb overview

Done now. You should now see it active at container.

Install SpotWeb Docker

Now we can install SpotWeb on Docker Synology.

Synology Menu DSM7

Click on the icon above on the left.

Docker dsm synology

Type Docker. To open Docker.

add synology Docker Image

Then go to Container. Click Create. Then Add. Then click Add from URL

spotweb docker installation url synology

Then enter the following url https://hub.docker.com/r/erikdevries/spotweb

Install SpotWeb Docker latest version

Make sure Latest is selected. And then Select.

SpotWeb docker image synology

Go to Image and Select SpotWeb. And click Start.

Set up SpotWeb docker bridge

Click Next.

SpotWeb erikdevries docker

Turn on Auto start. So that SpotWeb is restarted if necessary.

Go to Advanced Settings.

SpotWeb docker variable settings
DB_USERYour username that you used during the MariaDb installation.
DB_NAMEspotweb
DB_PASSThe password you used during the MariaDb installation.
DB_PORT3306 The port you used during the MariaDb installation.
DB_HOST172.17.0.1 the IP address of your network. (bridge)

Add above. By clicking add. And then Save.

SpotWeb docker settings synology

Click Next.

SpotWeb docker ports

Specify port 8085 for local and port 80 for container. SpotWeb wants to start at 80 but this causes problems.

Then Next.

SpotWeb docker volume settings empty

Volgende.

image 56

And then Done.

image 29

If you receive a similar message, you will have to adjust the port to, for example, 81, 81

I use 8085 myself.

SpotWeb docker started

You should now see SpotWeb listed under Container. You now have to wait about 15 minutes for the tables to be created.

You should find the following in the log of the SpotWeb database.

SpotWeb docker log synology

You can now access SpotWeb via http://ip-synology:8085 please be patient it can take a while.

You can now go to the next step if everything went well, if not yet see the FAQ below.

Tutorial SpotWeb Docker

  1. SpotWeb tutorial.
  2. SpotWeb Docker install Synology.
  3. SpotWeb Docker configure Synology.

Launch command line for container

If you encounter any errors in the SpotWeb log or SpotWeb database log. If you encounter any errors in the SpotWeb log or SpotWeb database log, you must start the command line.

Launch SpotWeb docker command line

Open the Container of the SpotWeb database. And then go to Terminal.

SpotWeb docker bash

Then Make. And click on Bash. Then Ctrl A and you can then paste with CTR + V and copy with CTR + C.

Onderstaande scherm is hoe het er uitziet als je bent ingelogd op de database.

mariadb login synology terminal

I myself had some issues with the variable that don’t always seem to work. For example, no standard database for spotweb was created for me.

Installation FAQ SpotWeb Docker

Error message in the log database cannot be found.

mysql -u root -p
CREATE DATABASE spotweb;
FLUSH PRIVILEGES;

Create user and grant all rights

mysql -u root -p
GRANT ALL PRIVILEGES ON . TO ‘gebruiker1’@localhost IDENTIFIED BY ‘wachtwoord1’;
FLUSH PRIVILEGES;

How do I create a database user?

mysql -u root -p
CREATE USER ‘gebruiker1’@172.17.0.1 IDENTIFIED BY ‘wachtwoord1’;
FLUSH PRIVILEGES;

Which databases are available?

mysql -u root -p
SHOW DATABASES;

How can I see the users of the database?

mysql -u root -p
select user from mysql.user;

Tutorial SpotWeb Docker

  1. SpotWeb tutorial.
  2. SpotWeb Docker install Synology.
  3. SpotWeb Docker configure Synology.

Be the first to comment

Laat een reactie achter