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

Preview
* Now lets stop and remove containers

docker compose down

Preview

Write a docker compose for nop commerce

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Wordpress Development Company

Discover more from Direct DevOps from Quality Thought

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

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube