diff --git a/Production/README.md b/Production/README.md index e07384e..1161fbd 100644 --- a/Production/README.md +++ b/Production/README.md @@ -24,4 +24,8 @@ The relevant environment variables are: * `BITCOIND_NETWORKPARAMETER`: The blockchain identifier parameter used by bitcoind (`regtest=1` for regtest, `testnet=1` for testnet, `#mainnet=1` for mainnet) * `ACME_CA_URI`: Let's encrypt API endpoint (`https://acme-staging.api.letsencrypt.org/directory` for a staging certificate, `https://acme-v01.api.letsencrypt.org/directory` for a production one) +If using litecoin: + +* `LITECOIND_COOKIEFILE`: The relative path to RPC cookie file from bitcoin's data directory. (`.cookie` for mainnet, `regtest/.cookie` for regtest, `testnet4/.cookie` for testnet) + Any unset or empty environment variable will be set for a `regtest` deployment. diff --git a/Production/docker-compose.btc-ltc.yml b/Production/docker-compose.btc-ltc.yml index fc5f5cc..81ae0eb 100644 --- a/Production/docker-compose.btc-ltc.yml +++ b/Production/docker-compose.btc-ltc.yml @@ -127,7 +127,7 @@ services: environment: NBXPLORER_NETWORK: litecoin-${NBITCOIN_NETWORK:-regtest} NBXPLORER_RPCURL: http://litecoind:43782/ - NBXPLORER_RPCCOOKIEFILE: /ltc/${BITCOIND_COOKIEFILE:-regtest/.cookie} + NBXPLORER_RPCCOOKIEFILE: /ltc/${LITECOIND_COOKIEFILE:-regtest/.cookie} NBXPLORER_NODEENDPOINT: litecoind:39388 NBXPLORER_BIND: 0.0.0.0:32838 NBXPLORER_NOAUTH: 1