Answer the question
In order to leave comments, you need to log in
With what parameters to run pgwatch in docker to monitor remote postgresql?
I install postgresql 12, docker is already installed. running postgresql and pgwatch2 in docker
yum -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
yum install -y postgresql12 postgresql12-server postgresql12-contrib
/usr/pgsql-12/bin/postgresql-12-setup initdb
systemctl enable postgresql-12
systemctl start postgresql-12
docker run -d -p 3000:3000 -p 8080:8080 -e NOTESTDB=1 -e PW2_PGHOST=172.26.9.45 --name pw2 cybertec/pgwatch2
tail -fn100 /var/lib/pgsql/12/data/log/postgresql-Sat.log
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question