Hands-On Cloud Development with WildFly
上QQ阅读APP看书,第一时间看更新

Modifying Swarm configuration

The fractions available in Swarm come with reasonable defaults. In the examples that we have seen so far, we didn't touch any configuration and yet we were able to see the applications working. Now, we will show you how you can tune the configuration of Swarm-created services.

Swarm provides a set of tools that allows you to modify the configuration of your applications. In the following section, we will introduce them one by one and show their usage in different scenarios. Let's start with the simplest one: system properties.