use pgsql

This commit is contained in:
Sebastian Hugentobler 2019-10-08 13:28:41 +02:00
parent 8cccd92338
commit 0c2fbfe545
2 changed files with 36 additions and 9 deletions

View file

@ -13,19 +13,19 @@
# Path to database. If blank, will search for
# murmur.sqlite in default locations or create it if not found.
database=/var/lib/murmur/murmur.sqlite
database={{ getenv "DB_NAME" "murmur" }}
# If you wish to use something other than SQLite, you'll need to set the name
# of the database above, and also uncomment the below.
# Sticking with SQLite is strongly recommended, as it's the most well tested
# and by far the fastest solution.
#
#dbDriver=QMYSQL
#dbUsername=
#dbPassword=
#dbHost=
#dbPort=
#dbPrefix=murmur_
dbDriver=QPSQL
dbUsername={{ getenv "DB_USER" "murmur" }}
dbPassword={{ getenv "DB_PASSWORD" }}
dbHost={{ getenv "DB_HOST" }}
dbPort={{ getenv "DB_PORT" "5432" }}
dbPrefix=murmur_
#dbOpts=
# Murmur defaults to not using D-Bus. If you wish to use dbus, which is one of the
@ -143,7 +143,7 @@ users={{getenv "MAX_USERS" "20"}}
# addresses.
# Only uncomment the 'registerName' parameter if you wish to give your "Root" channel a custom name.
#
#registerName=Mumble Server
registerName={{ getenv "ROOT_NAME" "Root" }}
#registerPassword=secret
#registerUrl=http://mumble.sourceforge.net/
#registerHostname=