Alaurent
Alaurent3w ago

Hi,

Hi, It is possible to generate instance secret and admin key without using rust / cargo ? I want to run backend only with precompiled binary ?
4 Replies
nipunn
nipunn3w ago
if you use the docker setup there's a way. See instrucs https://github.com/get-convex/convex-backend/tree/main/self-hosted Does that work?
GitHub
convex-backend/self-hosted at main · get-convex/convex-backend
The open-source reactive database for app developers - get-convex/convex-backend
Alaurent
AlaurentOP3w ago
in docker it's work in my personal laptop, but i want to use with my job laptop but on it, i can't install docker or rust but some litle .exe it's ok ( dont ask me why it's work ...) does it exist a binary or argument to convex binary to generate admin key ( for instance secret i can use openssl rand).
nipunn
nipunn3w ago
There's a binary you can build from source - instructions are here https://github.com/get-convex/convex-backend/tree/19e240ead053794f250acf2dc86c48065cfbd96e/self-hosted#running-the-binary-directly It's called keybroker
GitHub
convex-backend/self-hosted at 19e240ead053794f250acf2dc86c48065cfbd...
The open-source reactive database for app developers - get-convex/convex-backend
nipunn
nipunn3w ago
If you're just developing - you can use the built in dev instance secret / admin key. If you're trying to make a real production up - would recommend rotating it via the instructions here.

Did you find this page helpful?