Example 7589

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: "Braun, Conn-Stroman and Okuneva"
version: "3.13.17" # semver
# Brief description for the about page
description: "Stand-alone asynchronous infrastructure"
}

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

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

See also