Changelog

Config File Reference

Detailed reference for the most important FiveNet configuration options.
This page follows config.example.yaml and focuses on the settings most deployments will need to review.

Config File Location

By default, FiveNet looks for config.yaml in this order:

  1. . - The current working directory
  2. /config - Commonly used by containerized deployments
Use the example configuration file as the source of truth for comments, defaults, and all available options.

Required Options

These are the settings you should treat as mandatory for a working installation.

http.publicURL
string required
The public URL of your FiveNet instance, for example https://fivenet.example.com.
http.sessions.cookieSecret
string required
Random secret used for session cookies. Generate it once and keep it stable. Use at least 24 characters.
http.sessions.domain
string required
The public domain or subdomain FiveNet runs on, for example fivenet.example.com.
database.dsn
string required
MySQL or MariaDB connection string.
DB_USER:DB_PASS@tcp(DB_HOST:DB_PORT)/DB_NAME?collation=utf8mb4_unicode_ci&parseTime=True&loc=Europe%2FBerlin
Keep the parameters after ?. In most cases, only the loc= timezone part should be changed.
nats.url
string required
NATS connection URL, including credentials if needed, for example nats://USER:PASSWORD@localhost:4222.JetStream must be enabled on the NATS server.
jwt.secret
string required
Secret used to sign user tokens. Generate it once and keep it stable. Use at least 24 characters.
auth.configAdminGroups
string[]
Groups that should receive config admin access in FiveNet.
sync.enabled + sync.apiTokens
boolean + string[]
Enable the Sync API and provide at least one token. This is required for the FiveNet plugin and DBSync.

Core Settings

mode
string
Controls whether FiveNet runs in debug or release mode.
logLevel
string
Default log level for the application.
log
secret
string
App-wide encryption secret used to protect stored data. Keep this separate from jwt.secret.
ignoreRequirements
boolean
Skip database and NATS connectivity checks during startup. Use only when those services are intentionally unavailable.
jwt

HTTP

http

Database

database

NATS

nats

Storage

storage

Image Proxy

imageProxy

Audit

audit

OAuth2

oauth2

Files and Auth

postalsFile
string
Path to the postals.json data file used by FiveNet.
auth

Dispatch Center

dispatchCenter

Discord

discord

Game and Sync

game
sync

Updates, Icons, and Tracing

updateCheck
icons
otlp

Notes

  • Keep secret, jwt.secret, session secrets, and sync tokens stable after deployment unless you intentionally want to invalidate existing sessions or access.
  • Use the example file for comments and the complete set of options.
Copyright © 2026 Galexrt All rights reserved. All trademarks, logos and brand names are the property of their respective owners.