Database
Custom credentials for Databases
By default, credentials for the back-end and database components are using the default ones set by the HollaEx Kit.
This setup is okay for demonstrative, small production exchanges in a closed environment. But if you are looking for better security, setting up the custom credentials for back-end is important.
> Updating the values below may break the exchange if you already have set up the existing one. Modifying credentials is only allowed before running the hollaex setup
.
Redis
You can set your credentials from your secret
file in your HollaEx Kit/settings.
While on the exchange setup, HollaEx CLI will create a Redis container based on the provided values above.
PostgreSQL
You can set your credentials from your secret
file in your HollaEx Kit/settings.
While on the exchange setup, HollaEx CLI will create a PostgreSQL container based on the provided values above.
InfluxDB
You can set your credentials from your secret
file in your HollaEx Kit/settings.
While on the exchange setup, HollaEx CLI will create an InfluxDB container based on the provided values above.
External Databases
By default, HollaEx CLI runs all necessary backend servers (Redis, PostgreSQL, InfluxDB) automatically along with the rest of the HollaEx workloads.
It is enough for small or medium size exchange but if you are considering scaling up and have a larger load, you can run HollaEx with an external custom backend system of yours as you wish.
You should set up the external Redis which is reachable from your HollaEx server.
To disable HollaEx CLI to create built-in Redis, please set the value below as false
. You could find this value in your configmap
file in your HollaEx Kit/settings.
You can set the endpoint, port, and password for your Redis connection at your secret
file in your HollaEx Kit/settings.
Please run hollaex restart
to apply once you are all set.
Separated Redis for Pub-Sub (Optional)
If you are looking for a more advanced load balancing, it is also possible to separate the pub-sub feature of Redis (for internal communication of HollaEx servers) to a separate one.
You should set up the additional Redis for pub-sub which is reachable from your HollaEx server.
By default, the HollaEx server uses the same Redis host for handling all pub-sub and the rest of caching related jobs.
You can set the endpoint, port, and password for your pub-sub Redis connection at your secret file in your HollaEx Kit/settings.
Please run hollaex restart
to apply once you are all set.
You should set up the external PostgreSQL Database which is reachable from your HollaEx server.
Please refer Backup and Restore section to migrate your existing data into the new DB.
To disable HollaEx CLI to create build-in PostgreSQL, please set the value below as false
. You could find this value at your configmap
file in your HollaEx Kit/settings.
You can set the endpoint, port, and credentials for your PostgreSQL connection at your 'secret' file in your HollaEx Kit/settings.
Please run hollaex restart
to apply once you are all set.
You should set up the external InfluxDB Database which is reachable from your HollaEx server.
Run hollaex toolbox --influxdb_migration
(available from the CLI v1.9) to migrate chart data into the new InfluxDB. The chart data are stored at your PostgreSQL.
To disable HollaEx CLI to create build-in InfluxDB, please set the value below as false
. You could find this value in your configmap
file in your HollaEx Kit/settings.
You can set the endpoint, port, and credentials for your InfluxDB connection at your 'secret' file in your HollaEx Kit/settings.
Please run hollaex restart
to apply once you are all set.
Last updated