Skip to main content
Version: Any 26

Configuration files

Externalizing the configuration files​

By default, the configuration files (settings.json, logback.xml, shiro.ini) are embedded in the webapp.

To externalize them and update them without redeploying, set the Java parameter:

CATALINA_OPTS="-Dany.configurationPath=/path/to/config"

In setenv.sh (Tomcat) or catalina.sh:

export CATALINA_OPTS="$CATALINA_OPTS -Dany.configurationPath=/opt/any/config"

Any then loads the files from this directory instead of those embedded in the WAR.


Password encryption​

The passwords in settings.json must be encrypted for security reasons.

See the Generating encrypted passwords section in the installation guide.