mirror of
https://github.com/jgeusebroek/docker-spotweb.git
synced 2025-12-19 05:27:07 +01:00
c702822330f60dda2147fbd768263b095eb0b496
Docker Spotweb image
An image running ubuntu/15.10 Linux and Spotweb (media branch).
This image was mainly for own use, but it seems to be populair so I decided to provide some documentation.
MySQL
You need a seperate MySQL / MariaDB server. This can be a ofcourse be a (linked) docker container but also a dedicated database server.
Updates
The container will try to auto-update the database when a newer version image is released.
Usage
docker run --restart=always -d -p 80:80 \
--hostname=spotweb \
--name=spotweb \
-v <hostdir_where_config_will_persistently_be_stored>:/config \
-e TZ='Europe/Amsterdam'
-e SPOTWEB_DB_TYPE=pdo_mysql \
-e SPOTWEB_DB_HOST=<database_server_hostname> \
-e SPOTWEB_DB_NAME=spotweb \
-e SPOTWEB_DB_USER=spotweb \
-e SPOTWEB_DB_PASS=spotweb \
jgeusebroek/spotweb
You should now be able to reach the spotweb interface on port 80, and you can configure Spotweb.
Environment variables
TZThe timezone the server is running in. Defaults toEurope/Amsterdam.SPOTWEB_DB_TYPEDatabase type. Usepdo_mysqlfor MySQL.SPOTWEB_DB_HOSTThe hostname / IP of the database server.SPOTWEB_DB_NAMEThe database used for spotweb.SPOTWEB_DB_USERThe database server username.SPOTWEB_DB_PASSThe database server password.
License
MIT / BSD
Author Information
Description
Languages
Shell
67.9%
Dockerfile
32.1%