Librespeed setup guide
Warning
The guide was created with Docker in mind, not Podman, as the feasibility of using Podman has not yet been assessed
Pangolin setup guide
Create the initial directory
The pangolin script sets the initial folder to the folder you are currently in pwd.
In order to avoid fucking up the directory ~/. the following structure is created:
mkdir ~/appdata && mkdir ~/appdata/librespeed
cd ~/appdata/librespeed
Docker compose
Create the file ~/appdata/librespeed/docker-compose.yml with the following config:
services:
librespeed:
image: lscr.io/linuxserver/librespeed:latest
container_name: librespeed
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- PASSWORD=secret
# - CUSTOM_RESULTS=false #optional
# - DB_TYPE=sqlite #optional
# - DB_NAME=DB_NAME #optional
# - DB_HOSTNAME=DB_HOSTNAME #optional
# - DB_USERNAME=DB_USERNAME #optional
# - DB_PASSWORD=DB_PASSWORD #optional
# - DB_PORT=DB_PORT #optional
# - IPINFO_APIKEY=ACCESS_TOKEN #optional
volumes:
- ~/dockerfiles/librespeed/config:/config
ports:
- 5080:80
restart: unless-stopped
Execute the following
sudo docker compose up # Senza -d per vedere i log, Ctrl+C per uscire
sudo docker compose down # Pero portare lo stack down