HashCore Docs
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

  1. Open the .env file in the project root directory.
  2. Add or modify the variable:
    STRATUM_PROXY_DIR=/FULL_PATH/configs
    

    ⚠️ The path must be absolute (starting with /).

  3. Save the .env file.
  4. Restart the containers:
    docker compose down && docker compose up -d
    

After this, HashCore Proxy will look for stratum-proxy.yaml in the specified directory.

© 2026 HashCore. All rights reserved.