Not
  • Merhaba Dünya
  • Python
    • Sanal Ortam
    • Json
    • Cheat Sheet
    • Search
  • Javascript
    • Node
    • Vue
  • PostgreSQL
    • Install
    • Start Stop
    • Create Db
    • Backup Restore
    • Insert, Update, Delete
    • Kısa Yollar
  • Docker
    • Cheat Sheet
    • Problem
    • Komutlar
    • Örnek Konfigürasyon
    • Volume
  • Php, MySQL
  • Amazon AWS
  • Git
  • Celery
  • Mongo
    • Delete
    • Update
    • Amazon DocumentDB
  • Linux
  • Avesome
  • Bazı Bilgiler
  • Django
    • Models
    • Cheat Sheet
    • Snippets
  • Redis
  • Visual Studio Code
Powered by GitBook
On this page
  1. Docker

Problem

PreviousCheat SheetNextKomutlar

Last updated 5 years ago

Local Postgres bağlantı

Buradakileri takip edin.

Is the server running on host "10.200.10.1" and accepting için

sudo ifconfig lo0 alias 10.200.10.1/24

Bazı makinelerde aşağıdaki hatayı alabiliriz.

PSQLException: FATAL: no pg_hba.conf entry for host "xxx.xxx.xxx", user "postgres", database "x", SSL off

https://stackoverflow.com/questions/31249112/allow-docker-container-to-connect-to-a-local-host-postgres-database
https://gist.github.com/MauricioMoraes/87d76577babd4e084cba70f63c04b07d
https://github.com/docker-library/postgres/issues/482#issuecomment-414088719