Post
Topic
Board Electrum
Re: [Questions] Running my own electrum server
by
BlackHatCoiner
on 06/05/2021, 13:51:33 UTC
Does the docker method allow one to use all the same environment variables that one might enable in electumx.conf?

Was there such configuration file for electrumx? In the docs you linked it says that there should be different files for each environment variable. For example, it says that you'll have to create the COIN, DB_DIRECTORY and DAEMON_URL necessarily and some others optionally.

Anyway, yes, if I understood your question correctly, docker does allow you to do that. You just need to add parameters on your script. Three posts above, @ETFbitcoin included the DONATION_ADDRESS param. You can do the same for the banner:

Code:
-e BANNER_FILE=LOCATION_OF_YOUR_BANNER_FILE

Note that the location starts from the electrumx data directory which means that if you enter BANNER_FILE=banner.txt, it'll search for /home/user/electrumx:/data/banner.txt