Type | Default value | Description |
---|---|---|
DB_DSN |
||
|
corteza:corteza@tcp(db:3306)/corteza?collation=utf8mb4_general_ci |
Database connection string <username>:<password>@(<host>:<port>)/<dbname>?collation=utf8mb4_general_ci |
DB_MAX_TRIES |
||
|
100 |
Maximum number of connection retries. |
DB_CONN_ERR_DELAY |
||
|
5 seconds |
Duration between database connection retries. |
DB_CONN_TIMEOUT |
||
|
1 minute |
After how long we should give up on connecting with the database. |
GRPC_SERVER_NETWORK |
||
|
tcp |
Network to use for gRPC. |
GRPC_SERVER_ADDR |
||
|
:50051 |
Where do we listen for gRPC connections. |
GRPC_CLIENT_BACKOFF_DELAY |
||
|
1 minute |
Maximum delay for backoff on connection. |
HTTP_ADDR |
||
|
:80 |
IP and port for the HTTP server. |
HTTP_METRICS |
||
|
false |
Enable (prometheus) metrics. |
HTTP_METRICS_NAME |
||
|
corteza |
Name for metrics endpoint. |
HTTP_METRICS_USERNAME |
||
|
metrics |
Username for the metrics endpoint. |
HTTP_METRICS_PASSWORD |
||
|
(random) |
Password for the metrics endpoint. |
HTTP_CLIENT_TIMEOUT |
||
|
30 seconds |
Default timeout for clients. |
MONITOR_INTERVAL |
||
|
5 minutes |
Output (log) interval for monitoring. |
STORAGE_PATH |
||
|
var/store |
Where do we store uploaded files |