Manual full node setup (without the wizard)

Installation (this page is the last subpage under Installation)

This page is the operator-managed path: you install and run a COTI full node using the coti-full-node repository and Docker on your own server — not through the Nodes web app wizard, one-liner installer host, or guided spin-up UI.

New to running a node? Use the wizard first — Installation and UI guide. It is the quickest path for most people; return here only if you intentionally skip the web app.

For what a COTI node is and why operators run one, see What is a COTI node? and Why run a node?.


Requirements

COTI full node software is published as a Docker image.

Disclaimer: Successfully operating, troubleshooting, and maintaining a node requires technical proficiency. Familiarity with tools such as Linux, Docker, and Git is assumed. Users not familiar with this technology stack should consider the Installation / UI guide flow or assigning their license to an existing operator.

Certified operating system, tested Docker/Compose versions, and hardware (CPU, memory, disk by network, example cloud SKUs) are identical for the wizard and this manual path — see Server requirements.


Network Configuration

Open Ports: Protocol and Purpose

You should open the following ports in your host firewall (e.g., UFW) and in your cloud provider’s security groups to permit inbound traffic. Be aware that different ports use different protocols (TCP/UDP) depending on their purpose.

Port
Protocol
Purpose
Notes

7400

TCP

Peer-to-Peer (P2P) Communication

Data layer used for establishing a connection, exchanging blocks, and synchronizing blockchain data with other nodes.

7400

UDP

Node Discovery (Discv4/Discv5)

Discovery layer used to quickly find the addresses of other nodes on the network, including the bootnodes and all other peers.

8545

TCP

HTTP-RPC API

Used for external applications to query chain data and submit transactions over HTTP.

8546

TCP

WebSocket-RPC API

Used for real-time communication, allowing external applications to receive live updates and subscribe to blockchain events.

  • Static IP: Required to ensure stable RPC access, enabling continuous health monitoring.


Setting up Your Node Environment

COTI full nodes are run using docker. Docker provides a way for everyone to run battle-tested, reliable images, known to work with the network.

Prerequisites

Target the Docker Engine and Compose versions listed under Server requirements → Software stack so your stack matches what COTI certifies.

Installation Steps

The following recommended steps reflect best practices but should be performed carefully, as they may significantly impact the operating system.

  1. Recommended steps:

    1. Set host name (where <name>is your chosen node name)

      {% code fullWidth="false" %}

      {% endcode %}

    2. Update package lists

      {% code fullWidth="false" %}

      {% endcode %}

    3. Reboot system

      {% code fullWidth="false" %}

      {% endcode %}

    4. Update OS

      {% code fullWidth="false" %}

      {% endcode %}

  2. Configure Docker

    • Add your user to the docker group:

      {% code fullWidth="false" %}

      {% endcode %}

    • Logout and re-login

      {% code fullWidth="false" %}

      {% endcode %}

  3. Clone the COTI Full Node project

    {% code fullWidth="false" %}

    {% endcode %}

  4. Checkout the stable release tag (Recommended):

    • NOTE: Replace v1.1.4-mainnet with the actual latest stable tag (e.g., v1.1.4-discovery for Testnet).

  5. Start Your Node

    1. Navigate to the newly created "coti-full-node" directory

      {% code fullWidth="false" %}

      {% endcode %}

    2. Execute node start script

    3. Once the docker-compose has started the node, liveliness check will be executed

      Output example:

If liveliness check passed locally it means that your node is syncing with the other nodes in the network.

  1. To Check Node Logs

Restarting Your Node

To restart your node follow these steps:

  1. Stop your node

    {% code fullWidth="false" %}

    {% endcode %}

  2. Start your node

    {% code fullWidth="false" %}

    {% endcode %}

Node Configuration

If you are running a node without a license, no further configuration of the node is required. Simply ensure you are connected to the network.

For your own domain with HTTPS on the host (what the wizard does with --with-nginx), set at least:

in .env (see .env.example). Do not enable host Nginx and FRPC on the same install — the automated installer rejects that combination. For a COTI-managed tunnel instead, see Wizard tunnel (--with-frp); skip this section.

Nginx and Let's Encrypt (HTTPS on your domain)

Use this when the ecosystem must reach your node at https://<your-fqdn>/rpc (own DNS + TLS on your server). The wizard path is documented in Own domain (Nginx + TLS); here you perform the same steps by hand after cloning the repo.

Authoritative command-line reference: install_coti-full-node.sh — search for SSL AND NGINX SETUP (lines 534–630). The examples below mirror that script; substitute your FQDN and match upstream service names to your checked-out docker-compose.yml (e.g. coti-testnet-full-node on testnet).

Prerequisites

  1. DNS — an A record for your FQDN pointing at this server’s public IP, propagated before you request a certificate (see Own domain).

  2. Ports80 and 443 free on the host and allowed through firewall / cloud security groups (in addition to 7400 from Network configuration).

  3. Certbot on the host — the installer installs it with apt when Nginx is enabled:

  4. .envFULLNODE_FQDN, NGINX_ENABLED=true, FRPC_ENABLED=false (see Node configuration above).

Run these steps from the coti-full-node clone root. Prefer doing them before your first ./start_coti-full-node.sh with NGINX_ENABLED=true, or stop the stack (./stop_coti-full-node.sh), configure TLS, then start again.

Step 1 — Prepare Nginx directories

The repo already ships nginx/nginx.conf, nginx/default.conf, and nginx/nginx-init_default.conf for the ACME-only container.

Step 2 — Temporary Nginx for the ACME HTTP-01 challenge

Start the setup profile container (listens on host port 80 only):

This matches the installer’s $DC --profile setup up -d nginx-init.

Step 3 — Obtain a certificate with Certbot (webroot)

Production certificate:

Dry run (Let's Encrypt staging — browsers will not trust the cert; same as installer flag --staging):

Certificates are written under /etc/letsencrypt/live/<fqdn>/ on the host. The main Nginx container mounts /etc/letsencrypt read-only (see docker-compose.yml).

Step 4 — Stop the temporary Nginx

Port 80 must be free for the production Nginx container.

Step 5 — Write the TLS reverse-proxy config

Create ./nginx/sites-enabled/fullnode.conf with the same structure the installer writes: HTTPS on 443 proxying /rpc, /ws, /metrics, and /operator/ to the Docker services, plus HTTP on 80 for /.well-known/acme-challenge/ and redirect to HTTPS.

Copy the server { ... } blocks from install_coti-full-node.sh (lines 559–629), replacing:

  • $FQDN with your hostname (e.g. node1.example.com);

  • $NETWORK in upstream names with your network label if your compose file uses a different prefix (must match service names in docker-compose.yml, e.g. coti-testnet-full-node:8545).

Public RPC for monitoring and rewards: https://<your-fqdn>/rpc.

Step 6 — Start the stack with Nginx enabled

Ensure NGINX_ENABLED=true in .env, then:

start_coti-full-node.sh adds --profile proxy-nginx when NGINX_ENABLED is true, which starts the nginx service on ports 80 and 443.

Renewal

Schedule renewal on the host (example monthly cron). Use the same webroot path as issuance:

Adjust the reload command if your Nginx container name differs.

Troubleshooting (Nginx / TLS)

  • Certbot failed — confirm dig <fqdn> resolves to this server; wait for DNS; ensure port 80 is reachable from the internet while nginx-init is up.

  • Port in use — stop other services on 80 / 443 (including a leftover nginx-init after a failed run).

  • 502 / bad gateway — upstream names in fullnode.conf must match running compose service names; ensure the full node container is healthy (docker ps, docker logs).

If you prefer not to maintain this by hand, use the own-domain wizard one-liner or run the installer script from the repo with --with-nginx after reviewing install_coti-full-node.sh.

Verifying Node Functionality

Public status pages are available for both networks — use the URLs listed in Networks.

  • Node availability is crucial for the smooth operation of the network. To evaluate node availability, COTI leverages a monitoring platform that publishes this data. A node is considered available if it successfully responds to the eth_blockNumber request. Using this request ensures the node is actively synchronized with the network and functioning correctly.

Incentives

Validation rewards are governed by the Node Ecosystem program (uptime, FQDN reachability, license and holdings rules, epoch cadence, and other thresholds). Exact requirements can change — use the ecosystem documentation, web app, and the Node Economy section of the litepaper as the source of truth.

Licensed full nodes have commonly been expected to sustain high uptime (for example ≥ 98% over an epoch of roughly 103 hours) to remain eligible for validation rewards; confirm the current bar in the Node Ecosystem pages.

Following this manual guide instead of the ecosystem installer does not change those rules: you can still earn rewards when your deployment meets the same eligibility conditions the ecosystem enforces.

Maintenance & Monitoring

  1. Regular Updates: Keep your node software updated to the latest version. This ensures you receive security patches and new features.

  2. Resource Usage: Monitor CPU, RAM, and disk space to ensure uninterrupted operation.

  3. Uptime: Use a process manager (like systemd) or Docker auto-restart policies to keep your node running if it crashes unexpectedly.

Troubleshooting

Common Issues:

  • Peer Connection Errors: Ensure your ports are open and your firewall allows inbound connections.

  • High Resource Usage: Upgrade your hardware or adjust configuration settings to reduce overhead.

Where to Get Help:

FAQ

  1. How many nodes can I run?

    1. There’s no set limit, but each node requires its own resources. Running multiple nodes can help decentralize the network but comes with higher operational costs.

  2. Can I run a node on a VPS or cloud platform?

    1. Absolutely. Just ensure the service meets the hardware, OS, and networking requirements.

  3. Do I earn more rewards by running a more powerful node?

    1. Generally, consistently high uptime can lead to more consistent rewards, however, the only measure to qualify for rewards is uptime.

  4. Is it mandatory to purchase a node license to run a node?

    1. No. A node license simply allows you to earn rewards for helping decentralize the network, however, it is not necessary to run a COTI node.

Next Steps

Congratulations on setting up your COTI node using the manual path. Reward eligibility still follows the Node Ecosystem rules linked below.

The following related sections may be helpful:

Last updated

Was this helpful?