LibreSpeed speed test added.
This commit is contained in:
parent
3c456f02d1
commit
46feab7ef4
|
@ -42,5 +42,6 @@ Not every stack is tested to fully work.
|
|||
- [x] Proxy Socks5
|
||||
- [ ] Radarr (prototype state, see sonarr)
|
||||
- [ ] Sonarr (prototype state, working itself, but transmission-on-host integration didn't work due to path mismatch)
|
||||
- [x] Speedtest (LibreSpeed)
|
||||
- [ ] Wordpress (prototype state)
|
||||
- [ ] YaCy (abandoned due to upstream code problems)
|
||||
|
|
4
speedtest/.env.dist
Normal file
4
speedtest/.env.dist
Normal file
|
@ -0,0 +1,4 @@
|
|||
# https://hub.docker.com/r/adolfintel/speedtest
|
||||
|
||||
LOG_MAX_SIZE=5m
|
||||
LOG_MAX_FILE=5
|
18
speedtest/docker-compose.yml
Normal file
18
speedtest/docker-compose.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
version: '3.7'
|
||||
|
||||
services:
|
||||
speedtest:
|
||||
# https://hub.docker.com/r/adolfintel/speedtest
|
||||
image: adolfintel/speedtest
|
||||
container_name: speedtest
|
||||
ports:
|
||||
- "127.0.0.1:8888:80/tcp"
|
||||
# See here for ENV variables:
|
||||
# https://github.com/librespeed/speedtest/blob/docker/Dockerfile
|
||||
env_file: .env
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "${LOG_MAX_SIZE:-5m}"
|
||||
max-file: "${LOG_MAX_FILE:-5}"
|
|
@ -0,0 +1,19 @@
|
|||
server {
|
||||
listen 443 ssl http2;
|
||||
server_name speed.server.tld;
|
||||
|
||||
#access_log /var/log/nginx/speed.server.tld.access;
|
||||
error_log /var/log/nginx/speed.server.tld.error;
|
||||
|
||||
charset utf-8;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8888;
|
||||
}
|
||||
|
||||
#include config/gzip.conf;
|
||||
|
||||
# Wildcard certificate config
|
||||
#include ssl/server.tld.conf;
|
||||
#include config/ssl.conf;
|
||||
}
|
Loading…
Reference in a new issue