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

@ -16,9 +16,10 @@ You can also set options for RabbitMQ messaging and the LibreTime server in this
[database]
host = localhost
dbname = airtime
dbuser = airtime
dbpass = airtime
port = 5432
name = libretime
user = libretime
password = libretime
[rabbitmq]
host = 127.0.0.1

View file

@ -61,7 +61,9 @@ upgrading, please [file a bug](https://github.com/libretime/libretime/issues/new
[install](/install).
3. Before running the web-configuration, restore the Airtime database to the new
PostgreSQL server, media database and configuration file
4. Edit the configuration file to update any changed values
4. Update the configuration file to match the new configuration schema and update any
changed values. See the [host configuration](/docs/host-configuration) documentation
for more details.
5. Edit the Icecast password in `/etc/icecast2/icecast.xml` to reflect the
password used in Airtime
6. Restart the LibreTime services