fb0b55d540
* ns-api: remove sqlite support ns-api: add env var to skip migrations for local dev ns-api: tidy up imports ns-api: fix deserialisation fo node descriptions update dockerfile update README fix up README and example env ns-api: bump major version to 4 ns-api: add more geoip data and new performance field in dvpn responses * ns-api: polyfill dVPN probe outcomes to make compatible with existing clients * Use explicit transaction for testrun status change (#6046) * Use explicit transaction for testrun status change * Improve run scripts * Skip locked rows * bump version 4.0.2 * Fix build.rs * Fix up .sqlx queries * Bump agent version and change dockerfile to run the agent in a loop * Make time between agents configurable by env var SLEEP_TIME * Update entrypoint.sh * Update Dockerfile with full path * Force bigint to avoid postgres numeric cast * Add override args to agent entry point, bump agent version and NS API version --------- Co-authored-by: Mark Sinclair <mmsinclair@users.noreply.github.com> Co-authored-by: dynco-nym <173912580+dynco-nym@users.noreply.github.com>
28 lines
746 B
Bash
28 lines
746 B
Bash
# Example environment variables for nym-node-status-api
|
|
|
|
# Database configuration for PostgreSQL:
|
|
DATABASE_URL=postgres://testuser:testpass@localhost:5433/nym_node_status_api_test
|
|
|
|
# Network configuration
|
|
NETWORK_NAME=sandbox
|
|
NYM_API=https://sandbox-nym-api1.nymtech.net/api
|
|
NYXD=https://rpc.sandbox.nymtech.net
|
|
|
|
# API configuration
|
|
NYM_NODE_STATUS_API_HTTP_PORT=8000
|
|
NYM_API_CLIENT_TIMEOUT=15
|
|
SQLX_BUSY_TIMEOUT_S=5
|
|
|
|
# Monitoring intervals
|
|
NODE_STATUS_API_MONITOR_REFRESH_INTERVAL=300
|
|
NODE_STATUS_API_TESTRUN_REFRESH_INTERVAL=300
|
|
NODE_STATUS_API_GEODATA_TTL=86400
|
|
|
|
# Agent keys (comma-separated list)
|
|
NODE_STATUS_API_AGENT_KEY_LIST=
|
|
|
|
# External service tokens
|
|
IPINFO_API_TOKEN=your_token_here
|
|
|
|
# MixNodes (Optional)
|
|
DATA_PROVIDER_DELEGATION_LIST= |