Skip to content

A minimal Alpine Linux based Docker image that automatically downloads and runs the Traffmonetizer. Configure the App at runtime using an environment variable.

Notifications You must be signed in to change notification settings

techroy23/Docker-Traffmonetizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Traffmonetizer Docker Image

A minimal Alpine based Docker image for running the Traffmonetizer.

Links

DockerHub GitHub Invite
Docker Hub GitHub Repo Invite Link

Features

  • Lightweight Alpine Linux base image.
  • Configurable environment variable (TOKEN).
  • Auto‑update support with --pull=always.
  • Proxy support via Redsocks.

Usage

  • Before running the container, increase socket buffer sizes (required for high‑throughput streaming).
  • To make these settings persistent across reboots, add them to /etc/sysctl.conf or a drop‑in file under /etc/sysctl.d/.
sudo sysctl -w net.core.rmem_max=8000000
sudo sysctl -w net.core.wmem_max=8000000

Environment variables

Variable Requirement Description
APPKEY Required Your Traffmonetizer token. Container exits if not provided.
DEVNAME Required Device name. Container exits if not provided.
PROXY Optional External proxy endpoint in the form host:port.

Run

docker run -d \
  --name=traffmonetizer \
  --pull=always \
  --restart=always \
  --privileged \
  --log-driver=json-file \
  --log-opt max-size=5m \
  --log-opt max-file=3 \
  -e TOKEN=AbCdEfGhIjKLmNo \
  -e DEVNAME=C0MPUT3R-0001 \
  -e PROXY=123.456.789.012:34567 \
  techroy23/docker-traffmonetizer:latest

Invite Link

About

A minimal Alpine Linux based Docker image that automatically downloads and runs the Traffmonetizer. Configure the App at runtime using an environment variable.

Resources

Stars

Watchers

Forks