Public | Automated Build

Last pushed: a month ago
Short Description
Spotweb container
Full Description

Synopsis

This project contains the Dockerfile needed to create the sdinten/spotweb docker container

Code Example

No coding examples needed

Motivation

Started this project to learn something on how to create docker containers + I was not able to find a container that suited my needs.

Installation

Before using this container make sure the spotweb database is initialized and available. For now only mysql

The following environment variables are available with their defaults:

  • SPOT_WEB_TZ='Europe/Amsterdam'

  • SPOT_WEB_URL # not set by default, if set it will be added to ownsettings.php in the spotweb directory. This allows for https termination on a (separate) reverse proxy.

docker run -d -p 80:80 --link mariadb:mariadb --name spotweb sdinten/spotweb

The entrypoint of the conainer is a job that runs a retrieve every 30 minutes after starting the webserver

First time you start the container connect to SPOT_WEB_URL/install.php to configure spotweb

API Reference

No API

Tests

For now testing is done manually.

Contributors

Just look at the source, fork it and create pull requests when you have updates

License

MIT License

Docker Pull Command
Owner
sdinten
Source Repository