I have Postgresql on a server in a docker container. How can I connect to it from the outside, that is, from my local computer?What setting should I apply to allow that?
--
You received this message because you are subscribed to the Google Groups "Kobo Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.
To post to this group, send email to kobo-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kobo-users.
For more options, visit https://groups.google.com/d/optout.
psql -h 172.17.0.4 -p 5432 -U kobo -d kobotoolbox
docker inspect kobodocker_postgres_1
docker exec -it kobodocker_postgres_1 bash
su - postgres
psql
ALTER USER postgres PASSWORD 'postgres';
psql -h 172.17.0.4 -p 5432 -U postgres