diff options
Diffstat (limited to 'src/utils.clj')
| -rwxr-xr-x | src/utils.clj | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/utils.clj b/src/utils.clj index aa73ba9..c0b8b28 100755 --- a/src/utils.clj +++ b/src/utils.clj @@ -21,10 +21,11 @@ clojure.contrib.seq-utils clojure.contrib.str-utils compojure - config)) + config + )) (let [db-name "dumpfm" - db-user "postgres" + db-user (or (System/getenv "DUMP_DBNAME") "postgres") db-pass "root"] (def *db* {:datasource (doto (new PGPoolingDataSource) (.setServerName db-server) |
