Sign inSign up

techroy23/docker-proxyrack

By techroy23

Updated 6 days ago

Image
1

7.2K

techroy23/docker-proxyrack repository overview

ProxyRack Docker Image

A minimal Alpine based Docker image for running the ProxyRack.

DockerHubGitHubInvite
Docker HubGitHub RepoInvite Link

Features

  • Lightweight Alpine Linux base image.
  • Configurable environment variable (TOKEN, API_KEY, DEVICE_NAME).
  • supported arch: amd64.
  • Auto‑update support with --pull=always.

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

Use this command to generate your token. each instance should have a unique token

cat /dev/urandom | LC_ALL=C tr -dc 'A-F0-9' | dd bs=1 count=64 2>/dev/null && echo

Environment variables

VariableRequirementDescription
TOKENRequiredYour generated ProxyRack Token. Container exits if not provided.
API_KEYRequiredGet your API key here https://peer.proxyrack.com/api-doc. Container exits if not provided.
DEVICE_NAMERequiredAlphanumeric A-Z,a-z,0-9. Container exits if not provided.

Run

docker run -d \
  --name=proxyrack \
  --cpus=0.25 --pull=always --restart=always \
  --log-driver=json-file --log-opt max-size=1m --log-opt max-file=1 \
  --cap-add=NET_ADMIN --cap-add=NET_RAW --sysctl net.ipv4.ip_forward=1 \
  -e TOKEN=Your-TOKEN-Here \
  -e API_KEY=Your-API-Here \
  -e DEVICE_NAME=Your-Device-Name-Here \
  techroy23/docker-proxyrack:latest
https://peer.proxyrack.com/ref/zvc6oadgzudfr7zvsczleq8amea6ylwgwkej5itc

Tag summary

Content type

Image

Digest

sha256:a8234176a

Size

9.7 MB

Last updated

6 days ago

docker pull techroy23/docker-proxyrack