[DOCS] Environment variables: Add explanation
Resolves https://github.com/friendica/friendica/issues/4791
This commit is contained in:
parent
973d62c087
commit
44a5fe95d4
|
@ -344,6 +344,14 @@ Mit den folgenden Einstellungen kannst du die Zugriffsdaten für den Datenbank S
|
||||||
$db_pass = 'db_password';
|
$db_pass = 'db_password';
|
||||||
$db_data = 'database_name';
|
$db_data = 'database_name';
|
||||||
|
|
||||||
|
Sollten alle der folgenden Environment-Variablen gesetzt sein, wird Friendica diese anstatt der vorher konfigurierten Werte nutzen.
|
||||||
|
|
||||||
|
MYSQL_HOST
|
||||||
|
MYSQL_PORT
|
||||||
|
MYSQL_USERNAME
|
||||||
|
MYSQL_PASSWORD
|
||||||
|
MYSQL_DATABASE
|
||||||
|
|
||||||
## Administratoren
|
## Administratoren
|
||||||
|
|
||||||
Du kannst einen, oder mehrere Accounts, zu Administratoren machen.
|
Du kannst einen, oder mehrere Accounts, zu Administratoren machen.
|
||||||
|
|
|
@ -124,3 +124,11 @@ The configuration variables db_host, db_user, db_pass and db_data are holding yo
|
||||||
If you need to specify a port to access the database, you can do so by appending ":portnumber" to the db_host variable.
|
If you need to specify a port to access the database, you can do so by appending ":portnumber" to the db_host variable.
|
||||||
|
|
||||||
$db_host = 'your.mysqlhost.com:123456';
|
$db_host = 'your.mysqlhost.com:123456';
|
||||||
|
|
||||||
|
If all of the following environment variables are set, Friendica will use them instead of the previously configured variables for the db:
|
||||||
|
|
||||||
|
MYSQL_HOST
|
||||||
|
MYSQL_PORT
|
||||||
|
MYSQL_USERNAME
|
||||||
|
MYSQL_PASSWORD
|
||||||
|
MYSQL_DATABASE
|
||||||
|
|
Loading…
Reference in a new issue