YAML
- Refer Here for YAML and JSON tutorial
- The data is represented as collection of name value (key value) pairs
- Sample schema
name type=text
wifi type=boolean
owners type=list[string] or string array
menu type menuitem list
menuitem
name type=text/string
price type=number
- Example: yaml
---
name: Qualitea
wifi: no
owners:
- satish
menu:
- name: coffee
price: 20
- name: tea
price: 15
- Example: json
{
"name": "Qualitea",
"wifi": false,
"owners": ["satish"],
"menu": [
{
"name": "coffee",
"price": 20
},
{
"name": "tea",
"price": 15
}
]
}
Docker Compose
- Refer Here for official docs
- Refer Here for the specifications
Write a docker compose for spring petclinic
- Refer Here for the code
- Refer Here for the changes
- clone the code and up the services
git clone https://github.com/dummyrepos/spring-petclinic-docker.git
cd spring-petclinic-docker
docker compose up -d
- Now examine
docker compose ls
docker compose ps

* Now lets stop and remove containers
docker compose down

Write a docker compose for nop commerce
- Refer Here for the changes done
