rae.ki
rae.ki5w ago

Self Hosted App with Convex on cloud

I have a web app that I self-host using docker and I am able to get things into the convex DB that is on the cloud but I was wondering if there was a better way that I should be doing it. This is my current workflow: code > github actions > deploy code to server > build Dockerfile with docker compose build --build-arg CONVEX_DEPLOY_KEY=${{ secrets.CONVEX_DEPLOY_KEY }}. and the CONVEX_DEPLOY_KEY is in my Dockerfile like this:
ARG CONVEX_DEPLOY_KEY
ENV CONVEX_DEPLOY_KEY=${CONVEX_DEPLOY_KEY}
ARG CONVEX_DEPLOY_KEY
ENV CONVEX_DEPLOY_KEY=${CONVEX_DEPLOY_KEY}
Are there other ways that I should be doing this to follow best practices?
1 Reply
Convex Bot
Convex Bot5w ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!

Did you find this page helpful?