Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.13 KB

configuration-guide.md

File metadata and controls

34 lines (26 loc) · 1.13 KB

Snowstorm Configuration Guide

Overview

Snowstorm uses the Spring Boot framework so this general information about Spring Boot configuration is recommended.

The Defaults

The default configuration can be found in src/main/resources/application.properties.

This file also contains an explanation of each option.

Override the defaults

The defaults can be overridden using either an external properties file or command line parameters.

Using a a properties file

For example to override the HTTP port configuration using a properties file. Create a properties named application-local.properties with content:

server.port=8095
snowstorm.rest-api.readonly=true

Then start Snowstorm with an extra JVM parameter:

--spring.config.location=application-local.properties

Using command line arguments

Properties can also be overridden using command line arguments. For example by starting Snowstorm with an extra JVM parameter:

--server.port=8095
--snowstorm.rest-api.readonly=true