Speedtest Tracker 是一个自托管的互联网性能跟踪应用程序
version: '3.3'
services:
speedtest-tracker:
container_name: speedtest-tracker
ports:
- '18080:80'
- '18443:443'
environment:
- PUID=1026
- PGID=100
- DB_CONNECTION=mysql
- DB_HOST=db
- DB_PORT=3306
- DB_DATABASE=speedtest_tracker
- DB_USERNAME=speedy
- DB_PASSWORD=password
volumes:
- speedtest-app:/config
- /volume1/docker/speedtest:/etc/ssl/web
image: 'ghcr.io/alexjustesen/speedtest-tracker:latest'
depends_on:
- db
db:
image: mariadb:10
environment:
- MARIADB_DATABASE=speedtest_tracker
- MARIADB_USER=speedy
- MARIADB_PASSWORD=password
- MARIADB_RANDOM_ROOT_PASSWORD=true
volumes:
- speedtest-db:/var/lib/mysql
volumes:
speedtest-app:
speedtest-db:
admin@example.com
password
docker run -d --name speedtest-tracker \
-p 8080:80 \
-p 8443:443 \
-e PUID=1026 \
-e PGID=101 \
-e DB_CONNECTION=pgsql \
-e DB_HOST=192.168.131.131 \
-e DB_PORT=3307 \
-e DB_DATABASE=speedtest_tracker \
-e DB_USERNAME=root \
-e DB_PASSWORD=Nas.qubao19931016 \
-e TZ=Asia/Shanghai \
-v /etc/localtime:/etc/localtime:ro \
-v /volume1/docker/speedtest/config:/config \
-v /volume1/docker/speedtest/web:/etc/ssl/web \
ghcr.io/alexjustesen/speedtest-tracker:latest