Difference between revisions of "YAML"

From rbachwiki
Jump to navigation Jump to search
(Created page with "==YAML== '''Serialization Language''' ===Syntax=== * Key value pair # this is a comment app: user-auth port: 9000 #comment version: 1.7")
 
Line 4: Line 4:


* Key value pair
* Key value pair
 
* "microservice" becomes an object with directives under it.
  # this is a comment
  microservice:
app: user-auth
  app: user-auth
port: 9000
  port: 9000
#comment
  #comment
version: 1.7
  version: 1.7

Revision as of 14:38, 9 August 2022

YAML

Serialization Language

Syntax

  • Key value pair
  • "microservice" becomes an object with directives under it.
microservice:
  app: user-auth
  port: 9000
  #comment
  version: 1.7