![]() Is the server running locally and acceptingĬonnections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? Psql: could not connect to server: No such file or directory TCP/IP connections on port checked just in case that the type of container network is the bridge: docker network lsĪ3f48ac3facc openpoiservice_default bridge localĮ3d4286df013 openpoiservice_poi_network bridge localĬhecked Postgres launch logs: docker logs a66fe5691455Īdd rule to pg_hba: replication replicator Is the server running on host "localhost" (::1) and accepting Is the server running on host "localhost" (127.0.0.1) and acceptingĬould not connect to server: Cannot assign requested address Psql: could not connect to server: Connection refused I tried to do it manually: docker exec -it 10fafbab73dc psql -h localhost -U gis_admin-gis docker psĬONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMESġ0fafbab73dc openpoiservice_gunicorn_flask "/ops_venv/bin/gunic…" 23 minutes ago Up 22 minutes 0.0.0.0:5000->5000/tcp openpoiservice_gunicorn_flask_1Ī66fe5691455 kartoza/postgis:11.0-2.5 "/bin/sh -c /docker-…" 23 minutes ago Up 22 minutes 5432/tcp openpoiservice_psql_postgis_db_1īut when trying to check the service for functionality, I used docker-compose from the Openpoiservice project.īoth Docker containers were launched successfully.
0 Comments
Leave a Reply. |