Skip to content

Instantly share code, notes, and snippets.

@yaacov
Created November 9, 2019 20:20
Show Gist options
  • Save yaacov/29015d0a730c20c2dbf15d075b200054 to your computer and use it in GitHub Desktop.
Save yaacov/29015d0a730c20c2dbf15d075b200054 to your computer and use it in GitHub Desktop.
podman run -it --network=host --name postgres -e POSTGRES_PASSWORD=1234 postgres
podman run -it --network=host --name pgadmin4 -e "PGADMIN_DEFAULT_EMAIL=postgres" -e "PGADMIN_DEFAULT_PASSWORD=1234" -e "PGADMIN_LISTEN_PORT=5050" dpage/pgadmin4
psql -h 127.0.0.1 -p 5432 -d postgres -U postgres -W
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment