Files
goswi/config.sample.ini
T

33 lines
1.4 KiB
INI

[Config]
allowMissingConfig = true # Don't terminate the app if the ini file cannot be read.
allowUnknownFlags = false # Don't terminate the app if ini file contains unknown flags.
configUpdateInterval = 0s # Update interval for re-reading config file set via -config flag. Zero disables config file re-reading.
[Page Elements]
titleCommon = "gOSWI - " # Common part of the title for each page (usually the brand)
logo = # Logo (SVG preferred); defaults to gOSWI logo
logoTitle = # Title for the URL on the logo
sidebarCollapsed = # (default false) "true for a collapsed sidebar on startup"),
[Database]
dsn = # DSN for calling MySQL database
[Misc]
local = # serve as webserver, example: 0.0.0.0:8000
[Gin]
ginMode = "debug" # Default is 'debug' (more logging) but you can set it to 'release' (production-level logging)
cookieStore = # Secret random string required for the cookie store (will be generated randomly if unset)
[Misc]
templatePath = # Path to where the templates are stored (with trailing slash) - leave empty for autodetect
[TLS]
# If both are set and valid, attempt to run with TLS (i.e. https://)
tlsCRT = # Absolute path for CRT certificate for TLS
tlsKEY = # Absolute path for private key for TLS
[SMTP]
SMTPhost = "localhost" # Hostname of the SMTP server (for sending password reset tokens via email)
gOSWIemail = "manager@localhost" # Email address for the grid manager (must be valid and accepted by SMTPhost)