updating database url.
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
{:db {:server "database"}
|
{:db {:server "database"}
|
||||||
|
:datomic-url "datomic:ddb://us-east-1/integreat/integreat-prod"
|
||||||
:scheme "https"
|
:scheme "https"
|
||||||
:jwt-secret "auto ap invoices are awesome"
|
:jwt-secret "auto ap invoices are awesome"
|
||||||
:aws-access-key-id "AKIAISQDBHDDBYVHNXMQ"
|
:aws-access-key-id "AKIAISQDBHDDBYVHNXMQ"
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{:db {:server "database"}
|
{:db {:server "database"}
|
||||||
|
:datomic-url "datomic:ddb://us-east-1/integreat/integreat-staging"
|
||||||
:scheme "https"
|
:scheme "https"
|
||||||
:jwt-secret "auto ap invoices are awesome"
|
:jwt-secret "auto ap invoices are awesome"
|
||||||
:aws-access-key-id "AKIAJIS67OSJARD2E6VQ"
|
:aws-access-key-id "AKIAJIS67OSJARD2E6VQ"
|
||||||
|
|||||||
@@ -3,9 +3,10 @@
|
|||||||
[clj-time.coerce :as coerce]
|
[clj-time.coerce :as coerce]
|
||||||
[datomic.api :as d]
|
[datomic.api :as d]
|
||||||
[clojure.tools.logging :as log]
|
[clojure.tools.logging :as log]
|
||||||
[mount.core :as mount]))
|
[mount.core :as mount]
|
||||||
|
[config.core :refer [env]]))
|
||||||
|
|
||||||
(def uri "datomic:ddb://us-east-1/integreat/integreat-prod")
|
(def uri (:datomic-url env))
|
||||||
|
|
||||||
(mount/defstate conn
|
(mount/defstate conn
|
||||||
:start (d/connect uri)
|
:start (d/connect uri)
|
||||||
|
|||||||
Reference in New Issue
Block a user