Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.draskencloud.com/llms.txt

Use this file to discover all available pages before exploring further.

Sources

Nexus loads configuration in this order (later sources win):
  1. config/default.toml — bundled defaults
  2. Environment variables prefixed with GATEWAY_

Environment Variable Format

Nested TOML sections map to double-underscore __ separators:
TOMLEnvironment Variable
[server] proxy_portGATEWAY_SERVER__PROXY_PORT
[server] admin_tokenGATEWAY_SERVER__ADMIN_TOKEN
[cache] enabledGATEWAY_CACHE__ENABLED
[cache.redis] urlGATEWAY_CACHE__REDIS__URL

Hot Reload

Some runtime tunables can be patched without restart via:
PATCH http://localhost:9090/api/v1/config
Static values (ports, TLS paths, DB driver) require a restart.

Database Drivers

DriverValueNotes
SQLitesqliteDefault, zero-dependency, single instance
PostgreSQLpostgresRecommended for production / multi-instance
MySQLmysqlFull support
CockroachDBcockroachUses PostgreSQL wire protocol
Migrations are embedded in the binary. Set GATEWAY_AUTO_MIGRATE=true to apply them on startup.