How to install docker PostgreSQL
Add a docker-compose.yml file to the project root nano docker-compose.yml Add below the line and save the file version: '3.8' services: db: image: postgres:12.0-alpine restart: always volumes: - postgres_data:/var/lib/postgresql/data/ environment:…