at docker cli with root user: #apt-get install sudo #usermod -aG sudo postgres #su – postgres postgres # sudo whoami Permanent Alias vim ~/.bashrc or…
View More Docker linux add sudoers, alias commit imageCategory: Postgres
Postgres
Docker Postgres Config
https://hub.docker.com/_/postgres on visual studio code : $ docker pull postgres start a postgres instance on DockerDesktop press cli #su – postgres psql postgres=# show config_file;…
View More Docker Postgres ConfigConnect to AWS EC2 postgres
If you can’t connect to aws ec2 instance: vi /var/lib/pgsql/12/data/postgresql.conf listen_addresses = ‘*’
View More Connect to AWS EC2 postgres