March 2018
Intermediate to advanced
310 pages
7h 10m
English
The strength of the YAML configuration is its ability to provide different groups properties for different project stages. Again, let's take a look at the example first.
The new configuration file looks like this:
swarm: http: port: 8080---project: stage: testswarm: http: port: 12345---project: stage: QAswarm: http: port: 12346
The different parts of the file gather the configuration for different project stages. The first group is the default configuration. It is used when no stage name is provided. The other two specify the configurations for test and QA stages. However, how do you know the stage in which the application currently runs? You have to provide the swarm.project.stage property. So, consider that, for example, ...
Read now
Unlock full access