Skip to main content

Server and deployment

This page contains settings for the running server, uploads, Docker Compose, and advanced Spring Boot behavior.

Server and API features

VariableDefaultDescription
SERVER_PORT8066HTTP port used by the application.
SERVER_SHUTDOWNgracefulShutdown behavior.
SPRING_LIFECYCLE_TIMEOUT_PER_SHUTDOWN_PHASE20sMaximum wait for graceful shutdown.
SERVER_FORWARD_HEADERS_STRATEGYframeworkHandles forwarded headers when behind a proxy.
SERVER_COMPRESSION_ENABLEDtrueEnables HTTP response compression.
SERVER_COMPRESSION_MIN_RESPONSE_SIZE2KBMinimum response size for compression.
SPRING_SERVLET_MULTIPART_MAX_FILE_SIZE10MBMaximum uploaded file size.
SPRING_SERVLET_MULTIPART_MAX_REQUEST_SIZE10MBMaximum multipart request size.
SPRING_FLYWAY_ENABLEDtrueEnables database migrations at startup.
SPRING_FLYWAY_LOCATIONSclasspath:db/migrationFlyway migration location.
WINDRUNNER_MCP_ENABLEDtrueEnables the MCP server. See MCP server.
WINDRUNNER_OPENAPI_ENABLEDtrueEnables the external OpenAPI document at /api/openapi.json.

Advanced Spring Boot settings

The following settings are available for deployments that need to adjust server metadata, health endpoints, MCP metadata, or OpenAPI discovery. Most deployments can keep their defaults.

VariableDefaultDescription
SPRING_MAIN_BANNER_MODEoffControls the Spring startup banner.
SPRING_APPLICATION_NAMEwindrunnerApplication name used by Spring and server metadata.
MANAGEMENT_ENDPOINTS_WEB_EXPOSURE_INCLUDEhealthActuator endpoints exposed over HTTP.
MANAGEMENT_ENDPOINT_HEALTH_SHOW_DETAILSneverControls health response details.
MANAGEMENT_INFO_ENV_ENABLEDfalseControls environment information in the info endpoint.
SPRING_AI_MCP_SERVER_ENABLEDtrueDirect Spring setting for MCP availability; WINDRUNNER_MCP_ENABLED is the recommended alias.
SPRING_AI_MCP_SERVER_PROTOCOLSTATELESSMCP transport protocol.
SPRING_AI_MCP_SERVER_NAMEwindrunnerMCP server name.
SPRING_AI_MCP_SERVER_VERSION2.1MCP server version advertised to clients.
SPRINGDOC_API_DOCS_ENABLEDtrueDirect Springdoc setting for OpenAPI availability; WINDRUNNER_OPENAPI_ENABLED is the recommended alias.
SPRINGDOC_API_DOCS_PATH/api/openapi.jsonOpenAPI document path.
SPRINGDOC_PACKAGES_TO_SCANcom.windrunner.server.external.v1.apiPackages included in the OpenAPI document.
SPRINGDOC_PATHS_TO_MATCH/api/v1/**API paths included in the OpenAPI document.

Docker Compose variables

These variables are used by server/docker-compose.yml to configure the container deployment:

VariableDefaultDescription
POSTGRES_USERwindrunnerDatabase user created by the PostgreSQL container.
POSTGRES_PASSWORDwindrunnerDatabase password used by the PostgreSQL container and app.
APP_PORT8066Host port mapped to the application container.

WINDRUNNER_BOOTSTRAP_*, WINDRUNNER_AUTH_COOKIE_SECURE, and SPRING_DATASOURCE_HIKARI_MAXIMUM_POOL_SIZE are also read by the Compose file.

Source build and startup scripts

These variables affect the repository's helper scripts rather than the running application:

VariableUsed byDescription
SKIP_NPM_CIserver/build.shSet to 1 to skip frontend dependency installation when dependencies are already installed.
JAR_PATHserver/start.shOverrides the server JAR path.

See Build from source for the complete local setup.