Configuration
Configuration methods
Distributed Arcade uses micronfig, and therefore can be configured via all the methods it supports, in order from the first accessed to the last:
- Files at the paths specified at the
{NAME}_FILE environment variables containing the values of the {NAME} configuration parameter;
- Environment variables
{NAME} with the value of the corresponding configuration parameter;
- Variables contained in the
.env.local file of the working directory
- Variables contained in the
.env file of the working directory
Configuration parameters
All parameters are required.
The configuration parameters are as follows.
| Name |
Description |
Example |
REDIS_CONN |
Connection string to connect to Redis, in the format used by the redis crate. |
redis://127.0.0.1/1 |
AXUM_HOST |
Socket address to which the web server should bind to, in a format that can be parsed into a SocketAddr. |
127.0.0.1:8080 |
CREATE_TOKEN |
Secret token that's required to create new scoreboards. |
0390b05dbe879b11031647 |