Skip to main content

Documentation Index

Fetch the complete documentation index at: https://otoyinc.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Disk Quota

Limit Docker image storage with the --quota flag (in GB):
./disNet --pubkey pk_xxx --secretkey sk_xxx --quota 250
Recommendation: Set quota to ~50% of your Docker data root drive capacity. Default is 400GB. Find your Docker data root:
sudo docker info -f '{{ .DockerRootDir}}'

For production operations, it can be helpful to run disNet as a systemd service for automatic restarts.

1. Create Service File

sudo nano /etc/systemd/system/disNet.service
Add the following (replace paths and keys in WorkingDirectory and ExecStart fields):
[Unit]
Description=Dispersed Node Client
After=network.target docker.service
Requires=docker.service

[Service]
Type=simple
User=root
WorkingDirectory=/path/to/disNet
ExecStart=/path/to/disNet/disNet --pubkey pk_your_public_key --secretkey sk_your_secret_key
Restart=always
RestartSec=10
StandardOutput=append:/var/log/disNet.log
StandardError=append:/var/log/disNet.log

[Install]
WantedBy=multi-user.target

2. Enable and Start

sudo systemctl daemon-reload
sudo systemctl enable disNet
sudo systemctl start disNet

3. Check Status

sudo systemctl status disNet

4. Check Logs

sudo tail -f /var/log/disNet.log