Nakama
This section configures Nakama, including allowlist, metrics, and tracing settings.
ENABLE_ALLOWLIST
Enables Nakama’s allowlist feature, which allows for beta keys. This is useful for restricted access to certain parts of the game during development or early access.
Example
OUTGOING_QUEUE_SIZE
Specifies the maximum number of undelivered notifications Nakama will allow before shutting down a client connection.
Example
NAKAMA_TRACE_ENABLED
Enables tracing within Nakama, which integrates with external tracing tools such as Jaeger for visualizing system performance.
Example
NAKAMA_METRICS_ENABLED
Enables metrics collection within Nakama, integrating with Prometheus for system metrics tracking.
Example
NAKAMA_TRACE_SAMPLE_RATE
Trace sample rate. valid values are between 0.0 to 1.0 inclusive. This is a float value.
Example
NAKAMA_METRICS_INTERVAL
Prometheus scraping interval in seconds.
Example
NAKAMA_IMAGE
Specifies Nakama Docker image. this will only work on world cli v1.3.3 above.
- For Cardinal v1.7.1 and later, the Nakama image must be
v1.4.0
or later. - For Cardinal v1.6.x and earlier, the Nakama image must be
v1.2.9
or earlier.
Example
NAKAMA_IMAGE_PLATFORM
Specifies the platform architecture for the Nakama Docker image. The default value will match the operating system platform. this will only work on world cli v1.3.3 above. For more details, you can visit this link
Example