From a1b38b1a0f8dd39c2b37ef6b27f63fdec54e2077 Mon Sep 17 00:00:00 2001 From: kenshin-samourai Date: Mon, 6 Apr 2020 20:21:58 +0200 Subject: [PATCH] improved instructions related to config files --- doc/DOCKER_advanced_setups.md | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/doc/DOCKER_advanced_setups.md b/doc/DOCKER_advanced_setups.md index 1810cde..36bd1ac 100644 --- a/doc/DOCKER_advanced_setups.md +++ b/doc/DOCKER_advanced_setups.md @@ -45,9 +45,12 @@ To date, the initial installation of the indexer requires 120GB of additionnal d ### Procedure ### ``` -# Edit the indexer config template file +# If you're installing a new Dojo or if you're upgrading from a Dojo version <= 1.4.1, edit the docker-indexer.conf.tpl file nano ./conf/docker-indexer.conf.tpl +# Otherwise, edit the docker-indexer.conf file +nano ./conf/docker-indexer.conf + # # Set the value of INDEXER_INSTALL to "on" # Save and exit nano @@ -90,9 +93,12 @@ Important: Do not use an Electrum server operated by a third party or hosted on ### Procedure ### ``` -# Edit the indexer config template file +# If you're installing a new Dojo or if you're upgrading from a Dojo version <= 1.4.1, edit the docker-indexer.conf.tpl file nano ./conf/docker-indexer.conf.tpl +# Otherwise, edit the docker-indexer.conf file +nano ./conf/docker-indexer.conf + # # Set the value of INDEXER_INSTALL to "off" # Set the value of INDEXER_IP with the IP address of your Electrum server @@ -162,9 +168,12 @@ zmqpubrawtx=... #### Configuration of Dojo #### ``` -# Edit the bitcoin config template file +# If you're installing a new Dojo, edit the docker-bitcoind.conf.tpl file nano ./conf/docker-bitcoind.conf.tpl +# Otherwise, edit the docker-bitcoind.conf file +nano ./conf/docker-bitcoind.conf + # # Set the value of BITCOIND_INSTALL to "off" # Set the value of BITCOIND_IP with the IP address of you bitcoin full node @@ -214,7 +223,10 @@ The following steps allow to expose the RPC API and ZMQ notifications to applica # Stop your Dojo ./dojo.sh stop -# Edit the bitcoin config file +# If you're installing a new Dojo, edit the docker-bitcoind.conf.tpl file +nano ./conf/docker-bitcoind.conf.tpl + +# Otherwise, edit the docker-bitcoind.conf file nano ./conf/docker-bitcoind.conf # @@ -252,7 +264,10 @@ The following steps allow to keep a static onion address (not recommended). # Stop your Dojo ./dojo.sh stop -# Edit the bitcoin config file +# If you're installing a new Dojo, edit the docker-bitcoind.conf.tpl file +nano ./conf/docker-bitcoind.conf.tpl + +# Otherwise, edit the docker-bitcoind.conf file nano ./conf/docker-bitcoind.conf # @@ -286,7 +301,10 @@ The following steps allow to activate the use of Tor bridges by Dojo. # obfs4 ... # obfs4 ... -# Edit the tor config file +# If you're installing a new Dojo, edit the docker-tor.conf.tpl file +nano ./conf/docker-tor.conf.tpl + +# Otherwise, edit the docker-tor.conf file nano ./conf/docker-tor.conf # @@ -312,7 +330,7 @@ By default, Dojo is installed for running on Bitcoin mainnet. The following steps allow to install an instance of Dojo running on Bitcoin testnet. ``` -# Edit the common config template file +# Edit the docker-common.conf.tpl file nano ./conf/docker-common.conf.tpl #