rae.kiR
Convex Community6mo ago
1 reply
rae.ki

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}


Are there other ways that I should be doing this to follow best practices?
Was this page helpful?