version: '2'

services:
  db:
    image: postgres:11-alpine
    ports:
      - '5432:5432'

version: '2.1'

services:
  db:
    image: postgres:11-alpine
    ports:
      - ${COMPOSE_DB_PORT:-5432}:5432

Allow configuration to dev db port used
Allow configuration to dev db port used
