Standalone riak-explorer docker container. Bring your own riak cluster.
There are some configurable environmental variables that will set some riak settings. See how the config is set for further explanation.
-
RIAK_EXPLORER_DEVELOPMENT_MODE
(default:on
)Set to
off
for production deployments.clusters.default.development_mode = ${RIAK_EXPLORER_DEVELOPMENT_MODE}
-
RIAK_EXPLORER_PORT
(default:9000
)The port to run on
listener = 0.0.0.0:${RIAK_EXPLORER_PORT}
-
RIAK_NODE_NAME
(default:riak
)Name of riak node to connect to. Used when computing
RIAK_NODE
. Ignored ifRIAK_NODE
is specifed. -
RIAK_IFACE
(default:eth0
)RIAK_IFACE
is used to find the device that theIP_ADDRESS
is pulled from, seeRIAK_NODE
. -
RIAK_NODE
(default:${RIAK_NODE_NAME}@${IP_ADDRESS}
)Address of a riak node
clusters.default.riak_node = ${RIAK_NODE}
IP_ADDRESS
is set toip -o -4 addr list $RIAK_IFACE | awk '{print $4}' | cut -d/ -f1)
. -
RIAK_EXPLORER_USER_CONFIG
(default:/riak_explorer/etc/user.conf
)Path to a riak configuration file. This file will be appended to the end of the riak config file before start. These will overwrite anything defined in the main riak config file, including those set above via environmental variables.
/var/log/riak_explorer
- Logs from riak are not processed throughsyslogd
and are not avaiable throughdocker logs
(due to a bug in the riak_explorer binary distribution). Mount for logs file access.