mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[feature] Add db-postgres-connection-string
option (#3178)
* handle db-url * lint and add doc * add more doc * fix config test * return error * change name from db-url to db-postgres-connection-string
This commit is contained in:
@@ -81,6 +81,7 @@ EXPECT=$(cat << "EOF"
|
||||
"db-max-open-conns-multiplier": 3,
|
||||
"db-password": "hunter2",
|
||||
"db-port": 6969,
|
||||
"db-postgres-connection-string": "",
|
||||
"db-sqlite-busy-timeout": 1000000000,
|
||||
"db-sqlite-cache-size": 0,
|
||||
"db-sqlite-journal-mode": "DELETE",
|
||||
@@ -212,6 +213,7 @@ GTS_BIND_ADDRESS='127.0.0.1' \
|
||||
GTS_PORT=6969 \
|
||||
GTS_TRUSTED_PROXIES='127.0.0.1/32,docker.host.local' \
|
||||
GTS_DB_TYPE='sqlite' \
|
||||
GTS_DB_POSTGRES_CONNECTION_STRING='' \
|
||||
GTS_DB_ADDRESS=':memory:' \
|
||||
GTS_DB_PORT=6969 \
|
||||
GTS_DB_USER='sex-haver' \
|
||||
|
Reference in New Issue
Block a user