-
Notifications
You must be signed in to change notification settings - Fork 0
Liquid templating engine in configuration
Vu Dang Khoa Chiem edited this page Aug 3, 2020
·
7 revisions
The configuration files of servers and templates use the Liquid template engine to add the dynamic values in. There are 3 types of properties you can access:
Name | How to access properties | Description |
---|---|---|
Server properties | server.propertyName |
Server only properties |
Servers properties | servers[index].propertyName |
Object of all the servers in an array |
Global properties | global.propertyName |
Properties accessible to all servers and templates |
Here are the properties available:
{
global: {
<customGlobalVariable>: <value>
},
servers: [{
id: <serverID>,
name: <serverName>,
type: <serverType>,
version: <serverVersion>,
extends: [],
keepFiles: [],
variables: {
<customServerVariable>: <value>
}
}],
server: {
id: <serverID>,
name: <serverName>,
type: <serverType>,
version: <serverVersion>,
extends: [],
keepFiles: [],
variables: {
<customServerVariable>: <value>
}
}
}
For more information on how to setup custom variables, see Options | variables
Examples of the usage of the Liquid template engine can be found in the Example Server
Confused? See Example Server or FAQ
Something is still not clear? Create an issue!
MIT © Samuel-Martineau & Doudou8
- Arguments & Flags
- Configure a Template
- Liquid templating engine in configuration
- Options (Not optional)
- Schemas