github.com/mattevans/edward@v1.9.2/examples/store/docker-compose.yml (about)

     1  version: '2'
     2  services:
     3      data:
     4          image: cogniteev/echo
     5          command: echo 'Data Container for PostgreSQL'
     6          volumes:
     7              - /var/lib/postgresql/data
     8      db:
     9          image: "postgres"
    10          volumes_from:
    11              - data
    12          expose:
    13              - 5432
    14          ports:
    15              - "5432:5432"
    16          environment:
    17              POSTGRES_USER: docker
    18              POSTGRES_PASSWORD: docker