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