feat(legacy): add db config defaults and allow custom port (#1559)

* feat(legacy): allow custom port for database connection

- fix heredoc for php72

* update test config db section

* update sample config db section

* update api db config

* use defaults for database config section

* update documentation

* more documentation for migration
This commit is contained in:
Jonas L 2022-02-04 15:03:01 +01:00 committed by GitHub
parent 71b3e6aa9d
commit 3245216869
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 95 additions and 49 deletions

View file

@ -78,23 +78,27 @@ auth = local
#
# These settings are used to configure your database connection.
#
# host: The hostname of the database server.
# On a default Airtime installation, set this to localhost.
# host: The hostname of the database server.
# On a default Airtime installation, set this to localhost.
#
# dbname: The name of the Airtime database.
# The default is airtime.
# port: The port of the database server.
# On a default Airtime installation, set this to 5432.
#
# dbuser: The username for the Airtime database user.
# The default is airtime.
# name: The name of the Airtime database.
# The default is airtime.
#
# dbpass: The password for the Airtime database user.
# The default is airtime.
# user: The username for the Airtime database user.
# The default is airtime.
#
# password: The password for the Airtime database user.
# The default is airtime.
#
[database]
host = localhost
dbname = airtime
dbuser = airtime
dbpass = airtime
port = 5432
name = airtime
user = airtime
password = airtime
#
# ----------------------------------------------------------------------