PostgreSQL & PgAdmin

Spinning off a PostgreSQL database with accompanying admin interface
version: '3.8'
services:
  db:
    container_name: pg_container
    image: postgres:latest
    restart: always
    env_file:
      - docker.env
    ports:
      - '5432:5432'

  pgadmin:
    container_name: pgadmin_container
    image: dpage/pgadmin4
    restart: always
    ports:
      - '5050:80'
    env_file:
      - docker.env