lukechilds / docker-electrumx

Run an Electrum server with one command
MIT License
111 stars 125 forks source link

What database does this Docker use by default? #45

Closed debuggor closed 4 years ago

debuggor commented 4 years ago

What database does Docker use by default? rocksdb? leveled? thanks

debuggor commented 4 years ago

if use leveldb, how can i set it to rocksdb?

Mave95 commented 4 years ago

add the following param to your docker run

-e DB_ENGINE=rocksdb

debuggor commented 4 years ago

thanks

lukechilds commented 4 years ago

Thanks @Mave95

@debuggor We don't do anything special with the configuration, all the available ENV options are documented in the ElectrumX docs, you can see the DB_ENGINE option here: https://electrumx.readthedocs.io/en/latest/environment.html#envvar-DB_ENGINE

What database does Docker use by default?

Same as above, we just use the default ElectrumX options, so currently as you already seem to be aware, it defaults to leveldb. If ElectrumX defaults to rocksdb in the future, so will this Docker image.