Runs the Litecoin Core litecoind full-node in a container.
If there is no litecoin.conf
file in (/litecoin
), a new litecoin.conf
will be created based on the Environment Variables supplied to the container.
By default, wallet is disabled and litecoind runs on testnet.
The following variables are configureable:
TESTNET
: Defaults to1
, which will runlitecoind
ontestnet
. Set to0
to run onmainnet
.ENABLE_WALLET
: Defaults to0
, set to1
to enable the wallet and thelitecoind
daemon will create one.GEN
: Defaults to0
, set to1
to attempt to generate litecoins (mining).PRUNE
: Defaults to0
. Reduce storage requirements by enabling pruning (deleting) of old blocks. Set to1
to allow manual pruning via RPC. Set to an integer value to automatically prune block files to keep the stored block size under the specified value in MiB.MAX_CONNECTIONS
: When set (should be an integer), it overrides the max connections value.RPC_SERVER
: Defaults to0
, set to1
to enable the JSON RPC server on port 9332. If noRPC_USER
is given, the user will be set tolitecoinrpc
and if noRPC_PASSWORD
is given a random password will be generated. On run, the configuration file will be printed by the container and the password can be read from the logs.RPC_USER
: Sets the username for the JSON RPC server.RPC_PASSWORD
: Sets the password for the JSON RPC server.
Copyright (C) 2019, Bitwyre Technologies LLC.