You can edit the
config.toml file to configure your S5 node. You can apply changes with
docker container restart s5-node
This page describes the available sections in the config.
seed is generated on first start, you should keep it private. It's used for signing messages on the network.
Check out the Stores documentation for configuring different object stores.
You can enable the accounts system by adding this part to your config:
[accounts] enabled = true [accounts.database] path = "/db/accounts"
Registrations are disabled by default, you can enable them by adding this part:
[accounts] alwaysAllowedScopes = [ 'account/login', 'account/register', 's5/registry/read', 's5/metadata', 's5/debug/storage_locations', 's5/debug/download_urls', 's5/blob/redirect', ]
Configure a custom cache path with
path, you likely don't need this if you are using Docker.
Configure a custom database path, you likely don't need this if you are using Docker.
domain: Configure this value to match the domain you are using to access your node
port: On which port the HTTP API should bind
List of initial peers used for connecting to the p2p network.