version: "3.8" services: db: image: postgres:9.6-alpine restart: always environment: POSTGRES_PASSWORD: test123 ports: - "5432:5432"