Container setup for the Go variant of the LibreSpeed speed test
Go to file
Knut Ahlers 0ca5bf0634
Simplify build
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-08-20 11:04:03 +02:00
docker-entrypoint.sh Initial version 2020-07-17 00:58:22 +02:00
Dockerfile Simplify build 2020-08-20 11:04:03 +02:00
Makefile Remove broken code blocks 2020-07-17 01:01:13 +02:00
README.md Add docs for variables 2020-07-17 01:04:58 +02:00
README.tpl.md Add docs for variables 2020-07-17 01:04:58 +02:00

Luzifer-docker / librespeed

This is a container setup for the Go variant of the LibreSpeed speed test, fully configurable through environment variables and runnable out-of-the-box.

For security reasons the statistics password will be auto-generated every run of the container if not explicitly set.

To use your own configuration file make it available in the container as /etc/speedtest/settings.toml which will disable the config generator.

Available configuration variables

For reference please refer to the config example in the upstream repo.

ENV Variable Default Value
ASSETS_PATH /usr/local/share/speedtest
BIND_ADDR
DB_FILE /data/speedtest.db
DB_HOST
DB_NAME
DB_PASS
DB_TYPE bolt
DB_USER
IPINFO_API_KEY
LISTEN_PORT 8989
REDACT_IP_ADDRESSES true
SERVER_LAT 0
SERVER_LON 0
STATISTICS_PASSWORD