version: '2'
services:
  db:
    image: postgres:10
    ports:
      - "5432:5432"
    environment:
      - POSTGRES_USER=coffeetable
      - POSTGRES_PASSWORD=coffeetable

version: '2'
services:
  db:
    image: postgres:10-alpine
    ports:
      - "5432:5432"
    environment:
      - POSTGRES_USER=coffeetable
      - POSTGRES_PASSWORD=coffeetable

Switch to alpine version of Postgres 10 docker image
Switch to alpine version of Postgres 10 docker image
