Skip to main content

CEEMS API Server

Flags

FlagEnvironment VariableDescriptionDefault
--helpShow context-sensitive help (also try --help-long and --help-man).
--versionShow application version.
--log.formatOutput format of log messages. One of: [logfmt, json]logfmt
--log.levelOnly log messages with the given severity or above. One of: [debug, info, warn, error]info
--web.systemd-socketUse systemd socket activation listeners instead of port listeners (Linux only).false
--runtime.gomaxprocsGOMAXPROCSThe target number of CPUs Go will run on1
--web.config.fileCEEMS_API_SERVER_WEB_CONFIG_FILEPath to configuration file that can enable TLS or authentication. Docs
--web.listen-addressAddresses on which to expose API server and web interface.:9020
--config.fileCEEMS_API_SERVER_CONFIG_FILEPath to CEEMS API server configuration filefalse
--web.route-prefixPrefix for the internal routes of web endpoints/
--web.max-requestsMaximum number of requests allowed in 1 minute period per client identified by Real IP address. Request headers True-Client-IP, X-Real-IP and X-Forwarded-For are looked up to get the real client IP address.By default no limit is applied0
--web.cors.originRegex for CORS origin. It is fully anchored. Example: https?://(domain1|domain2)\.com(.*)
--web.debug-serverEnable /debug/pprof profiling endpointsfalse
--query.max-periodMaximum allowable query range. Units Supported: y, w, d, h, m, s, ms. By default no limit is applied.0s