Skip to content

Instantly share code, notes, and snippets.

@yashvekaria
Created May 1, 2020 06:08
Show Gist options
  • Save yashvekaria/e1f4dd426f00309da21939ad81945087 to your computer and use it in GitHub Desktop.
Save yashvekaria/e1f4dd426f00309da21939ad81945087 to your computer and use it in GitHub Desktop.
pgAdmin 4 (Official Container) - A Docker Container containing pgAdmin running in server mode over HTTP or HTTPS
Ref - https://www.pgadmin.org/download/pgadmin-4-container/
Command
sudo docker run -p 5050:80 --restart=always -d -v /home/dpc2/pgadmin:/var/lib/pgadmin/storage -e 'PGADMIN_DEFAULT_EMAIL=postgres' -e 'PGADMIN_DEFAULT_PASSWORD=avesta' dpage/pgadmin4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment