Code in this video_Docker – Build Your Own Internet Speed Monitoring Server (24/7 Automatic Tracking!)

✳️ Replace the highlighted information with your own

version: "3.3" # Docker Compose file version

services:
speedtest-tracker: # Name of the service
image: henrywhitaker3/speedtest-tracker # Docker image of Speedtest Tracker
container_name: my-speedtest # Name of the running container

ports:
- "8082:80" # Map port 80 in the container to 8082 on the host (HTTP access)
- "8443:443" # Map port 443 in the container to 8443 on the host (HTTPS access)

environment:
- PUID=1000 # User ID on the host machine (for permissions)
- PGID=1000 # Group ID on the host machine
- TZ=Asia/Ho_Chi_Minh # Your Timezone
- OOKLA_EULA_GDPR=true # Accept Ookla's license and GDPR terms

volumes:
- ./config:/config # Mount a local folder to store config and data

restart: unless-stopped # Automatically restart unless the container is manually stopped

Leave a Reply

Your email address will not be published. Required fields are marked *