services: main: image: engineering.sanya.gay/pluralflux/pluralflux container_name: pluralflux restart: unless-stopped env_file: "variables.env" postgres: image: postgres:latest env_file: "variables.env" volumes: - pgdata:/var/lib/postgresql - ./pgBackup:/mnt/pgBackup pgadmin: image: dpage/pgadmin4:latest ports: - "5050:80" env_file: "variables.env" depends_on: - postgres volumes: - pgadmindata:/var/lib/pgadmin #- ./pgBackup:/mnt/host # uncomment the above line if you plan to restore / backup dump files from PGAdmin UI volumes: pgdata: pgadmindata: