Example 5587

Config with Comments

Heavily documented configuration file.

# Application Configuration File
# Generated by MAML examples
{
# Application metadata
# These values are shown in the UI
app: {
# The display name shown in the UI
name: "Donnelly Inc"
version: "8.6.11" # semver
# Brief description for the about page
description: "Quality-focused actuating moratorium"
}

# Server configuration
server: {
host: "0.0.0.0" # bind to all interfaces
port: 7151 # default: 8080
# Number of worker processes
workers: 9 # set to 0 for auto
}

# Logging settings
logging: {
# Valid levels: debug, info, warn, error
level: "info"
format: "text" # json recommended for production
output: "stdout" # file path or stdout
}
}

See also