Configuring
How to configure your install
Coinolio standalone is configurable via environment variables.
Using
docker-compose
If your using
docker-compose
for the setup please set the variables in thedocker-compose.yml
file, in theenvironment
sections.
General
Name | Required | Default Value | Description |
---|---|---|---|
HOST | 0.0.0.0 | This is the server host URL for the Coinolio installation. | |
PORT | 8080 | This is the port in which Coinolio will listen on. | |
DEBUG | * | This will set the type of debug information output to console. Defaults to all. |
Changing HOST / PORT
If you change host / post please also update the Docker setup to listen and forward those URL settings on.
Name | Required | Default Value | Description |
---|---|---|---|
SESSION_SECRET | 👍 | This should be a random string used to encrypt session stores in Redis. | |
TOKEN_SECRET | 👍 | This should be a random string used to encrypt JSON Web Tokens (JWT). | |
CURRENCY | USD | This will set the default currency to be used for reference to BTC price and other values (BTC price provided by Coindesk). Please see Coindesk's valid currencies. ISO 4217 format. |
Timescale Database
Name | Required | Default Value | Description |
---|---|---|---|
DATABASE_URL | 👍 | The location of the Timescale database. | |
DATABASE_USER | coinolio | The username for the database. | |
DATABASE_PASSWORD | 👍 | The password for the database. | |
DATABASE_LOCATION | coinolio | The database name to connect to. | |
DATABASE_DEBUG | true | Output database debug information to console. |
Redis
Name | Required | Default Value | Description |
---|---|---|---|
REDIS_URL | redis://localhost | The location of the Redis database. | |
REDIS_PORT | 6379 | The port of the Redis database. |
Updated almost 7 years ago