2020-07-16 22:58:22 +00:00
# Luzifer-docker / librespeed
2020-07-16 22:59:16 +00:00
This is a container setup for the [Go variant ](https://github.com/librespeed/speedtest-go ) of the [LibreSpeed speed test ](https://librespeed.org/ ), fully configurable through environment variables and runnable out-of-the-box.
2020-07-16 22:58:22 +00:00
2020-07-16 23:02:59 +00:00
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.
2020-07-16 22:58:22 +00:00
## Available configuration variables
2020-07-16 23:04:58 +00:00
For reference please refer to the [config example ](https://github.com/librespeed/speedtest-go/blob/master/settings.toml ) in the upstream repo.
2020-07-16 22:58:22 +00:00
| ENV Variable | Default Value |
| ------------ | ------------- |
| ASSETS_PATH | `/usr/local/share/speedtest` |
2020-07-16 23:01:13 +00:00
| BIND_ADDR | |
2020-07-16 22:58:22 +00:00
| DB_FILE | `/data/speedtest.db` |
2020-07-16 23:01:13 +00:00
| DB_HOST | |
| DB_NAME | |
| DB_PASS | |
2020-07-16 22:58:22 +00:00
| DB_TYPE | `bolt` |
2020-07-16 23:01:13 +00:00
| DB_USER | |
| IPINFO_API_KEY | |
2020-07-16 22:58:22 +00:00
| LISTEN_PORT | `8989` |
| REDACT_IP_ADDRESSES | `true` |
| SERVER_LAT | `0` |
| SERVER_LON | `0` |
2020-07-16 23:01:13 +00:00
| STATISTICS_PASSWORD | |