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 runlitecoindontestnet. Set to0to run onmainnet.ENABLE_WALLET: Defaults to0, set to1to enable the wallet and thelitecoinddaemon will create one.GEN: Defaults to0, set to1to attempt to generate litecoins (mining).PRUNE: Defaults to0. Reduce storage requirements by enabling pruning (deleting) of old blocks. Set to1to 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 to1to enable the JSON RPC server on port 9332. If noRPC_USERis given, the user will be set tolitecoinrpcand if noRPC_PASSWORDis 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.