System Management
Getting Started
- Open a Linux terminal and execute:
cd /opt
sudo git clone https://github.com/hashcore-llc/stratum-proxy.git
cd stratum-proxy
For Windows: The project is cloned into the WSL Linux environment, not onto the C: drive.
- Start all services using the command:
docker compose up -d
The output will look like this:
✔ Volume proxy_proxy_configs Started
✔ Container hashcore-cadvisor Started
✔ Container hashcore-node-exporter Started
✔ Container hashcore-prometheus Started
✔ Container hashcore-grafana Started
✔ Container hashcore-stratum-proxy Started
✔ Container hashcore-proxy-configurator Started
- Ensure all containers are running:
docker ps
The output will look approximately like this:
AND SERVICE CREATED STATUS PORTS
hashcore-cadvisor gcr.io/cadvisor/cadvisor:latest "/usr/bin/cadvisor -…" cadvisor 34 hours ago Up About a minute (healthy) 8080/tcp
hashcore-grafana grafana/grafana "/run.sh" grafana 34 hours ago Up About a minute 0.0.0.0:5000->3000/tcp, [::]:5000->3000/tcp
hashcore-node-exporter prom/node-exporter "/bin/node_exporter …" node-exporter 34 hours ago Up About a minute 9100/tcp
hashcore-prometheus prom/prometheus "/bin/prometheus --c…" prometheus 34 hours ago Up About a minute 9090/tcp
hashcore-proxy-configurator public.ecr.aws/k7t2c2k4/stratum-proxy-configurator:latest "/opt/config_agent/a…" proxy-configurator 20 minutes ago Up About a minute 0.0.0.0:5001->5001/tcp, [::]:5001->5001/tcp
hashcore-stratum-proxy public.ecr.aws/k7t2c2k4/farm-proxy:latest "/opt/stratum-proxy/…" stratum-proxy 20 minutes ago Up About a minute 0.0.0.0:3000->3000/tcp, [::]:3000->3000/tcp, 0.0.0.0:3333-3334->3333-3334/tcp, [::]:3333-3334->3333-3334/tcp, 0.0.0.0:5010->5010/tcp, [::]:5010->5010/tcp
If the table is empty, the services did not start. Execute docker compose up -d and repeat the command.
After a successful launch, the following interfaces will be available:
- Web Configurator:
http://localhost:5001 - Grafana Monitoring:
http://localhost:5000 - Prometheus Metrics:
http://localhost:5010/api/metrics
docker-compose.yml file
The `docker-compose.yml` file is required to run Hashcore Proxy. The file describes all services (Stratum Proxy, Grafana, Prometheus, etc.). In most cases, this file does not require changes — it is configured and ready to use immediately after installation. It should only be edited in special circumstances.
Restart
If you need to restart HashCore Proxy, execute the following command: