services: pgadmin: image: dpage/pgadmin4 container_name: pg4 restart: always env_file: ./.env ports: - "8888:80" volumes: - ./server.json:/var/lib/pgadmin/server.json - pg4_data:/var/lib/pgadmin volumes: pg4_data: driver: local driver_opts: type: none device: ./data o: bind