Documenting running Payload using the Azure CosmosDB Emulator docker image mongoDB API #4162
DanRibbens
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I just went through the job of setting up a local emulation of cosmos db using the MongoDB API and am writing it here to document the process.
npx create-payload-app@latest
, choosing mongodb as the Database and whatever other options.https://localhost:8081/_explorer/emulator.pem
and save locally in the projectDATABASE_URI=mongodb://localhost:C2y6yDjf5%2FR%2Bob0N8A7Cgv30VRDJIWEHLM%2B4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw%2FJw%3D%3D@localhost:10255/admin?tls=true&tlsCertificateKeyFilePassword=C2y6yDjf5%2FR%2Bob0N8A7Cgv30VRDJIWEHLM%2B4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw%2FJw%3D%3D&tlsAllowInvalidCertificates=true&retrywrites=false
indexSortableFields: true
.Beta Was this translation helpful? Give feedback.
All reactions