3 years ago
(no markdown available for this content)
19 Replies
3 years ago
yoho @MantisInABox the clerk expert
3 years ago
n/a
3 years ago
Looks like you are missing the CLERK_SECRET_KEY environment variable. The Clerk Docs show you that you need to have at least 2 environment variables, the publishable key, and the secret key...
3 years ago
Make sure that you are using reference variables with the private Database URL. Otherwise, you will be paying for egress charges on every database connection
yes I dont have one set up atm sadly I'm assuming remote queries works maybe via railway?
3 years ago
If you have your DB on Mongo Atlas, you can use that, but you will pay egress from your app every time you make a DB request.
3 years ago
You can use a database hosted anywhere with your application.
can you help as to where to get the env data from the seperate app pleasee
3 years ago
That works perfectly fine as well. Once you deploy it, go back to your next app, and add a reference variable for the DB private URL
@MantisInABox The provided database string is invalid. MongoDB connection string error: Missing delimiting slash between hosts and options in database URL. Please refer to the documentation in https://www.prisma.io/docs/reference/database-reference/connection-urls for constructing a correct connection string. In some cases, certain characters must be escaped. Please check the string for any illegal characters.
DATABASE_URL mongodb://mongo:[email protected]:44786/test