Configuring
How to configure your install
Coinolio standalone is configurable via environment variables.
Using
docker-composeIf your using
docker-composefor the setup please set the variables in thedocker-compose.ymlfile, in theenvironmentsections.
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 over 7 years ago
