Getting closer to datomic cloud

This commit is contained in:
2023-03-18 20:07:34 -07:00
parent bd658906b5
commit 78519663ac
17 changed files with 299 additions and 177 deletions

View File

@@ -11,11 +11,13 @@
(def uri (:datomic-url env))
(mount/defstate client
:start (dc/client {:server-type :dev-local
:system "dev"})
:start (dc/client {:server-type :cloud
:region "us-east-1"
:system "iol-cloud"
:endpoint "https://53syis8n1m.execute-api.us-east-1.amazonaws.com"})
:stop nil)
(mount/defstate conn
:start (dc/connect client {:db-name "prod-migration"})
:start (dc/connect client {:db-name "prod-mirror"})
:stop nil)
#_(def uri "datomic:mem://datomic-transactor:4334/invoice")