docker-bits/lsio/librespeed/docker-compose.yaml

40 lines
1.4 KiB
YAML
Raw Normal View History

2021-04-10 10:16:29 +00:00
# Librespeed is a very lightweight Speedtest implemented in Javascript, using
# XMLHttpRequest and Web Workers. No Flash, No Java, No Websocket, No Bullshit.
---
version: "2.1"
services:
librespeed:
image: ghcr.io/linuxserver/librespeed
container_name: librespeed
environment:
# for GroupID
- PUID=${PUID:-1024}
# for UserID
- PGID=${PGID:-100}
# Specify a timezone to use for example Europe/Amsterdam
2021-04-13 00:58:58 +00:00
- TZ=${TZ:-Europe/Amsterdam}
2021-04-10 10:16:29 +00:00
# Set the password for the results database.
- PASSWORD=PASSWORD
# (optional) set to `true` to enable custom results page in `/config/www/results/index.php`.
- CUSTOM_RESULTS=false # optional
# Defaults to `sqlite`, can also be set to `mysql` or `postgresql`.
- DB_TYPE=sqlite # optional
# Database name. Required for mysql and pgsql.
- DB_NAME=DB_NAME # optional
# Database address. Required for mysql and pgsql.
- DB_HOSTNAME=DB_HOSTNAME # optional
# Database username. Required for mysql and pgsql.
- DB_USERNAME=DB_USERNAME # optional
# Database password. Required for mysql and pgsql.
- DB_PASSWORD=DB_PASSWORD # optional
# Database port. Required for mysql.
- DB_PORT=DB_PORT # optional
volumes:
# Contains all relevant configuration files.
- ${BASEDIR:-/volume1/docker}/librespeed/config:/config
ports:
# web gui
- 80:80
restart: unless-stopped