github.com/ijc/docker-app@v0.6.1-0.20181012090447-c7ca8bc483fb/e2e/testdata/expected-yaml-render.golden (about)

     1  version: "3.6"
     2  services:
     3    api:
     4      image: python:3.6
     5      networks:
     6        back: null
     7        front:
     8          aliases:
     9          - corp.app.api.com
    10          - coolapp.com
    11    db:
    12      image: postgres:9.3
    13      networks:
    14        back: null
    15    web:
    16      image: nginx:latest
    17      networks:
    18        front: null
    19      ports:
    20      - mode: ingress
    21        target: 80
    22        published: 8082
    23        protocol: tcp
    24      volumes:
    25      - type: volume
    26        source: static
    27        target: /opt/data/static
    28  networks:
    29    back: {}
    30    front: {}
    31  volumes:
    32    static:
    33      name: corp/web-static-data
    34      external: true