fix: add postgres files
Some checks failed
Continuous Delivery / build_n_upload (push) Has been cancelled
Some checks failed
Continuous Delivery / build_n_upload (push) Has been cancelled
This commit is contained in:
6
files/postgres/pg_hba.conf
Normal file
6
files/postgres/pg_hba.conf
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# Before editing this file, please refer to official doc:
|
||||||
|
# https://www.postgresql.org/docs/current/auth-pg-hba-conf.html
|
||||||
|
|
||||||
|
# TYPE DATABASE USER ADDRESS METHOD
|
||||||
|
local sameuser all peer # Allow each unix user accessing its own db
|
||||||
|
local all postgres peer # Allow postgres user accessing all dbs
|
||||||
19
files/postgres/postgresql.conf
Normal file
19
files/postgres/postgresql.conf
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
# FILE LOCATIONS
|
||||||
|
# Please refer to official doc before editing this section:
|
||||||
|
# https://www.postgresql.org/docs/current/runtime-config-file-locations.html
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# Change pg_hba location
|
||||||
|
hba_file = "/etc/postgres/pg_hba.conf"
|
||||||
|
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
# CONNECTIONS AND AUTHENTICATION
|
||||||
|
# Please refer to official doc before editing this section:
|
||||||
|
# https://www.postgresql.org/docs/current/runtime-config-connection.html
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# Empty listen addresses to disable listening via TCP/IP
|
||||||
|
# because we want only uni socket connections
|
||||||
|
listen_addresses = ""
|
||||||
Reference in New Issue
Block a user