updating database url.

This commit is contained in:
Bryce Covert
2020-09-14 11:09:59 -07:00
parent f12337db8e
commit 4320c129ce
3 changed files with 5 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
{:db {:server "database"}
:datomic-url "datomic:ddb://us-east-1/integreat/integreat-prod"
:scheme "https"
:jwt-secret "auto ap invoices are awesome"
:aws-access-key-id "AKIAISQDBHDDBYVHNXMQ"

View File

@@ -1,4 +1,5 @@
{:db {:server "database"}
:datomic-url "datomic:ddb://us-east-1/integreat/integreat-staging"
:scheme "https"
:jwt-secret "auto ap invoices are awesome"
:aws-access-key-id "AKIAJIS67OSJARD2E6VQ"

View File

@@ -3,9 +3,10 @@
[clj-time.coerce :as coerce]
[datomic.api :as d]
[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
:start (d/connect uri)