Crynux Network
HomeBlogGitHubTwitterDiscordNetstats
  • Crynux Network
  • Releases
    • Helium Network
    • Hydrogen Network
  • System Design
    • Network Architecture
    • Consensus Protocol
      • Inference Task Validation
      • Training/FT Task Validation
    • Verifiable Secret Sampling
    • Task Lifecycle
      • Task State Transitions
    • Task Dispatching
    • Task Pricing
    • Quality of Service (QoS)
    • Model Distribution
  • Node Hosting
    • Start a Node
      • Start a Node - Windows
      • Start a Node - Mac
      • Start a Node - Linux
      • Start a Node - Docker
      • Start a Node - Vast
    • Get the Test CNX Tokens
    • Private Key Security
    • Assign GPU to the Node
    • Proxy Settings
    • Docker Compose Options
    • Advanced Configuration
  • Application Development
    • How to Run LLM using Crynux Network
    • Application Workflow
    • Execute Tasks
      • Text-to-Image Task
      • Text-to-Text Task
      • Text-to-Music Task
      • Text-to-Video Task
      • Fine-Tuning Task
    • Crynux Bridge
    • API Specification of the Relay
    • Crynux SDK
  • Crynux Token
    • Wallet Configuration
      • Metamask
  • Troubleshooting
    • FAQ
    • Locate the Error Message
    • Exceptions in WebUI
  • Misc
    • Privacy Policy
Powered by GitBook
On this page
  • Locate the config file
  • Fill in the proxy settings
Edit on GitHub
  1. Node Hosting

Proxy Settings

PreviousAssign GPU to the NodeNextDocker Compose Options

Last updated 12 months ago

Sometimes a proxy is required to access Huggingface and Civitai in your network environment. Crynux Node supports to specify the proxy in the config file.

Locate the config file

Go to the directory where you click Crynux Node.exe, there is a sub directory with name config, the config file can be found inside with name config.yml.

Open a Finder window, go to the Applications folder, right click on the Crynux Node.app and select Show Package Content, then go to the folder Contents/Resources/config, and the config file is located inside as config.yml.

If you have mounted the config directory outside of the container

find the config file config.yml in the mounted config directory on the host machine. Which should be config folder inside the project root, if you have followed the tutorial .

If you have not mounted the config directory

the config file can be found inside the container as /app/config/config.yml.

If you downloaded the binary release version of Linux server, the config file config.yml can be found in the config folder of the project root.

The config file is located at config/config.yml, relative to the project root folder.

Fill in the proxy settings

Open the config.yml file with a text editor, and find the section below:

---
task_config:
  proxy:
    host: ''
    password: ''
    port: 8080
    username: ''

Just fill in the fields according to your proxy settings, and restart the node.

If your proxy requires authentication, fill in the username and password fields accordingly, otherwise just leave the fields empty.

If the host is not set, the node will try to use the proxy settings in the environment variables, which will be the value given in HTTPS_PROXY. No proxy will be used if this environment variable is not set.

Below is an example of using a proxy at localhost, with no proxy authentication:

---
task_config:
  proxy:
    host: 'http://127.0.0.1'
    password: ''
    port: 33210
    username: ''
Start a Node - Docker