github.com/docker/app@v0.9.1-beta3.0.20210611140623-a48f773ab002/e2e/testdata/simple/simple.dockerapp/docker-compose.yml (about)

     1  version: "3.6"
     2  services:
     3    api:
     4      image: python:3.6
     5      networks:
     6        back:
     7        front:
     8          aliases:
     9            - api.example.com
    10            - ${api_host}
    11    web:
    12      image: nginx
    13      networks:
    14        - front
    15      volumes:
    16        - static:/opt/${static_subdir}
    17      ports:
    18        - ${web_port}:80
    19    db:
    20      image: postgres:9.3
    21      networks:
    22        - back
    23  networks:
    24    front:
    25    back:
    26  volumes:
    27    static:
    28      external: true
    29      name: corp/web-static-data