use sqlite as postgre doesn't work

This commit is contained in:
Sebastian Hugentobler 2016-06-30 14:19:40 +02:00
parent 845a557cf7
commit 261156fa63
2 changed files with 9 additions and 8 deletions

View File

@ -1,7 +1,8 @@
FROM thallian/confd-env:latest FROM thallian/confd-env:latest
RUN apk add --no-cache murmur qt-postgresql RUN apk add --no-cache murmur
VOLUME /etc/ssl/murmur VOLUME /etc/ssl/murmur
VOLUME /var/lib/murmur/
ADD /rootfs / ADD /rootfs /

View File

@ -13,19 +13,19 @@
# Path to database. If blank, will search for # Path to database. If blank, will search for
# murmur.sqlite in default locations or create it if not found. # murmur.sqlite in default locations or create it if not found.
database={{getenv "DBNAME"}} database=/var/lib/murmur/murmur.sqlite
# If you wish to use something other than SQLite, you'll need to set the name # 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. # of the database above, and also uncomment the below.
# Sticking with SQLite is strongly recommended, as it's the most well tested # Sticking with SQLite is strongly recommended, as it's the most well tested
# and by far the fastest solution. # and by far the fastest solution.
# #
dbDriver=QPSQL #dbDriver=QMYSQL
dbUsername={{getenv "DBUSER"}} #dbUsername=
dbPassword={{getenv "DBPASSWORD"}} #dbPassword=
dbHost={{getenv "DBHOST"}} #dbHost=
dbPort={{getenv "DBPORT"}} #dbPort=
dbPrefix=murmur_ #dbPrefix=murmur_
#dbOpts= #dbOpts=
# Murmur defaults to not using D-Bus. If you wish to use dbus, which is one of the # Murmur defaults to not using D-Bus. If you wish to use dbus, which is one of the