someguy
ships with some implicit defaults that can be adjusted via env variables below.
The address to listen on.
Default: 127.0.0.1:8190
Whether or not the Accelerated DHT is enabled or not.
Default: true
Whether or not to accept Delegated Routing V1 PUT requests. Affects all PUT requests: provider records, peer records and IPNS records.
By default, PUT requests are ignored. Therefore, they will neither be stored locally, nor sent to other remote endpoints.
Default: false
Used in conjunction with SOMEGUY_PUT_ENABLED
.
The LevelDB data directory to persist PUT records. When receiving PUT requests, the records will be stored in this database. The database is queried for GET requests.
Default: none
Comma-separated list of other Delegated Routing V1 endpoints to proxy provider requests to.
Default: https://cid.contact
Comma-separated list of other Delegated Routing V1 endpoints to proxy peer requests to.
Default: none
Comma-separated list of other Delegated Routing V1 endpoints to proxy IPNS requests to.
Default: none
Specifies the log-level, both globally and on a per-subsystem basis. Level can be one of:
debug
info
warn
error
dpanic
panic
fatal
Per-subsystem levels can be specified with subsystem=level
. One global level
and one or more per-subsystem levels can be specified by separating them with
commas.
Default: error
Example:
GOLOG_LOG_LEVEL="error,someguy=debug" someguy
Specifies the log message format. It supports the following values:
color
-- human readable, colorized (ANSI) outputnocolor
-- human readable, plain-text output.json
-- structured JSON.
For example, to log structured JSON (for easier parsing):
export GOLOG_LOG_FMT="json"
The logging format defaults to color
when the output is a terminal, and
nocolor
otherwise.
Sets the file to which the logs are saved. By default, they are printed to the standard error output.
Sets the file to which the tracing events are sent. By default, tracing is disabled.
Warning: Enabling tracing will likely affect performance.