Manual Configuration
Using a Custom Config Directory
You can specify a custom directory for storing HashCore Proxy configuration files using the STRATUM_PROXY_DIR variable in .env.
By default, the proxy uses the directory /opt/stratum-proxy/configs/. You can specify your own directory.
How to Configure
- Open the
.envfile in the project root directory. - Add or modify the variable:
STRATUM_PROXY_DIR=/FULL_PATH/configs⚠️ The path must be absolute (starting with
/). - Save the
.envfile. - Restart the containers:
docker compose down && docker compose up -d
After this, HashCore Proxy will look for stratum-proxy.yaml in the specified directory.