build(backend): use localhost with IPv6-enabled pg_hba.conf

This commit is contained in:
Sarah Vaupel 2024-11-14 00:02:41 +01:00
parent 81f689cfdf
commit d646a03325
2 changed files with 6 additions and 5 deletions

View File

@ -123,7 +123,7 @@ auth-pw-hash:
database:
user: "_env:PGUSER:uniworx"
password: "_env:PGPASS:uniworx"
host: "_env:PGHOST:host.docker.internal"
host: "_env:PGHOST:localhost"
port: "_env:PGPORT:5432"
# See config/test-settings.yml for an override during tests
database: "_env:PGDATABASE:uniworx"
@ -181,7 +181,7 @@ smtp:
limit: "_env:SMTPLIMIT:10"
widget-memcached:
host: "_env:WIDGET_MEMCACHED_HOST:host.docker.internal"
host: "_env:WIDGET_MEMCACHED_HOST:localhost"
port: "_env:WIDGET_MEMCACHED_PORT:11211"
auth: []
limit: "_env:WIDGET_MEMCACHED_LIMIT:1024"
@ -190,7 +190,7 @@ widget-memcached:
expiration: "_env:WIDGET_MEMCACHED_EXPIRATION:3600"
session-memcached:
host: "_env:SESSION_MEMCACHED_HOST:host.docker.internal"
host: "_env:SESSION_MEMCACHED_HOST:localhost"
port: "_env:SESSION_MEMCACHED_PORT:11211"
auth: []
limit: "_env:SESSION_MEMCACHED_LIMIT:1024"
@ -200,7 +200,7 @@ session-memcached:
# TODO: this one seems to be required!
memcached:
host: "_env:MEMCACHED_HOST:host.docker.internal"
host: "_env:MEMCACHED_HOST:localhost"
port: "_env:MEMCACHED_PORT:11211"
auth: []
limit: "_env:MEMCACHED_LIMIT:1024"

View File

@ -1,2 +1,3 @@
local all all trust
host all all 0.0.0.0/0 trust
host all all 0.0.0.0/0 trust
host all all ::1/128 trust