DevOps Classroomnotes 03/Sep/2023

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

Write a docker compose for spring petclinic

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

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Customized Social Media Icons from Acurax Digital Marketing Agency

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%