aboutsummaryrefslogtreecommitdiff
path: root/src/clj/queue_api/config.clj
blob: 30ed9a57c44148746bc9393dc29538c3d8d853b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
(ns queue-api.config
  (:require [cprop.core :refer [load-config]]
            [cprop.source :as source]
            [mount.core :refer [args defstate]]))

(defstate env
  :start
  (load-config
    :merge
    [(args)
     (source/from-system-props)
     (source/from-env)]))