how to generate admin key in coolify or dokploy
I have installed convex in coolify. but I don't know how to generate admin key
5 Replies
See the ‘backend’ logs. You will find that key there.
I don't find the admin key in the backend logs
For those who seach, they have to go to "backend" Terminal and prompt : ./generate_admin_key.sh
Hmm
To be clear, you have to have SSH access to the underlying server. You can use the Terminal page inside Coolify.
run
docker ps and find the container ID of the running convex/backend container.
And then copy it into this command:
docker exec <containerID> ./generate_admin_key.sh
The script should spit out the admin key for you to use in the dashboard, and in your .env variables for function deployment.