mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Also use 127.0.0.1 for database and redis
Node 18 can resolve localhost to IPv6 address, where postgresql and/or redis may listen on IPv4 only
This commit is contained in:
@@ -70,7 +70,7 @@ trust_proxy:
|
||||
|
||||
# Your database name will be database.name OR 'peertube'+database.suffix
|
||||
database:
|
||||
hostname: 'localhost'
|
||||
hostname: '127.0.0.1'
|
||||
port: 5432
|
||||
ssl: false
|
||||
suffix: '_dev'
|
||||
@@ -83,7 +83,7 @@ database:
|
||||
# You can also specify a 'socket' path to a unix socket but first need to
|
||||
# set 'hostname' and 'port' to null
|
||||
redis:
|
||||
hostname: 'localhost'
|
||||
hostname: '127.0.0.1'
|
||||
port: 6379
|
||||
auth: null # Used by both standalone and sentinel
|
||||
db: 0
|
||||
|
||||
@@ -17,11 +17,11 @@ rates_limit:
|
||||
max: 200
|
||||
|
||||
database:
|
||||
hostname: 'localhost'
|
||||
hostname: '127.0.0.1'
|
||||
port: 5432
|
||||
|
||||
redis:
|
||||
hostname: 'localhost'
|
||||
hostname: '127.0.0.1'
|
||||
|
||||
smtp:
|
||||
hostname: null
|
||||
|
||||
@@ -68,7 +68,7 @@ trust_proxy:
|
||||
|
||||
# Your database name will be database.name OR 'peertube'+database.suffix
|
||||
database:
|
||||
hostname: 'localhost'
|
||||
hostname: '127.0.0.1'
|
||||
port: 5432
|
||||
ssl: false
|
||||
suffix: '_prod'
|
||||
@@ -81,7 +81,7 @@ database:
|
||||
# You can also specify a 'socket' path to a unix socket but first need to
|
||||
# set 'hostname' and 'port' to null
|
||||
redis:
|
||||
hostname: 'localhost'
|
||||
hostname: '127.0.0.1'
|
||||
port: 6379
|
||||
auth: null # Used by both standalone and sentinel
|
||||
db: 0
|
||||
|
||||
Reference in New Issue
Block a user