From 261156fa63e67e2369d36f84397fa99ad8e5b0f5 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Thu, 30 Jun 2016 14:19:40 +0200 Subject: [PATCH] use sqlite as postgre doesn't work --- Dockerfile | 3 ++- rootfs/etc/confd/templates/murmur.ini.tmpl | 14 +++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 79c1837..8fc306d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ FROM thallian/confd-env:latest -RUN apk add --no-cache murmur qt-postgresql +RUN apk add --no-cache murmur VOLUME /etc/ssl/murmur +VOLUME /var/lib/murmur/ ADD /rootfs / diff --git a/rootfs/etc/confd/templates/murmur.ini.tmpl b/rootfs/etc/confd/templates/murmur.ini.tmpl index e100ddb..d795600 100644 --- a/rootfs/etc/confd/templates/murmur.ini.tmpl +++ b/rootfs/etc/confd/templates/murmur.ini.tmpl @@ -13,19 +13,19 @@ # Path to database. If blank, will search for # 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 # 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=QPSQL -dbUsername={{getenv "DBUSER"}} -dbPassword={{getenv "DBPASSWORD"}} -dbHost={{getenv "DBHOST"}} -dbPort={{getenv "DBPORT"}} -dbPrefix=murmur_ +#dbDriver=QMYSQL +#dbUsername= +#dbPassword= +#dbHost= +#dbPort= +#dbPrefix=murmur_ #dbOpts= # Murmur defaults to not using D-Bus. If you wish to use dbus, which is one of the