yaml0 0.2.0

Implementation of serde serialization and deserialization from YAML data format
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
x-defaults: &defaults
  restart: always
  logging:
    driver: json-file

services:
  web:
    <<: *defaults
    image: nginx:1.25
    ports:
      - "80:80"
  api:
    <<: *defaults
    image: api:latest
    restart: on-failure
    environment:
      LOG_LEVEL: info