Basic syntax
- key-value
value can be with quotes (", ' or no qootes)
-
comment starts with #
-
objects (with indentations)
-
list two different identation mode(same with parents)
microservices:
- app: user-authentication
port: 9000
versions:
- 1.7
- 2.0
app_list: [1, 2]
- multilineString
command:
- sh
- -c
- |
#!/usr/bin/env bash -e
http() {
curl -k http:/localhost
}
single line
multiple config in one yaml file
placeholder using {{}} env variable to use $VARIALBENAME