Appearance
397 - Config with Comments
Heavily documented configuration file. This is an example of a MAML document.
maml
# 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: "Schmidt, Smith and McKenzie"
version: "4.20.0" # semver
# Brief description for the about page
description: "Reduced asynchronous interface"
}
# Server configuration
server: {
host: "0.0.0.0" # bind to all interfaces
port: 8158 # default: 8080
# Number of worker processes
workers: 8 # set to 0 for auto
}
# Logging settings
logging: {
# Valid levels: debug, info, warn, error
level: "error"
format: "text" # json recommended for production
output: "/var/log/app.log" # file path or stdout
}
}