pgAdmin4

Annoyingly, defaults to '/var/lib/pgadmin4/storage' which, in Dockerised environments, ends up buried where sudoers fear to tread. Moving it:

nano pgadmin4/config_local.py

Add:

  STORAGE_DIR = '/storage'

Then, perhaps, in docker-compose.yml:

volumes:
  - /home/seanys/Workspace/PostgreSQL/storage:/storage
environment:
  - STORAGE_DIR:/storage
  • pgadmin4.txt
  • Last modified: 2023/12/05 23:37
  • by admin