Proxy
Installation
Step-by-step guide to install HashCore Proxy using Docker and Docker Compose.
Installing Docker and Docker Compose
For Ubuntu:
# Add Docker’s official GPG key
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
# Add the Docker repository to Apt sources
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
# Install Docker packages
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
# Verify the installation
docker run --rm hello-world
Learn more about installing Docker
Installing Git
sudo apt-get install git
Learn more about installing Git: git-scm.com
Cloning and Running
# Clone the repository
git clone https://github.com/hashcore-llc/stratum-proxy.git
cd stratum-proxy
# For Linux (recommended path)
cd /opt && git clone https://github.com/hashcore-llc/stratum-proxy.git
cd stratum-proxy
⚠️ For Windows: In the docker-compose.yml file, under the volumes section, replace ./configs with .\\configs
Starting the System
# Updating local images related to the proxy
docker compose pull
# Start all services
docker compose up -d
# Wait for images to download and services to start
Accessing Interfaces
After a successful startup, the following interfaces will be available:
- Web Configurator:
http://localhost:5001 - Grafana Monitoring:
http://localhost:5000 - Prometheus Metrics:
http://localhost:5010/api/metrics