I encountered the following task. ``` curl -O https://raw.githubusercontent.com/get-convex/convex-ba

I encountered the following task.
curl -O https://raw.githubusercontent.com/get-convex/convex-backend/main/self-hosted/docker/docker-compose.yml
docker compose up
docker compose exec backend ./generate_admin_key.sh
CONVEX_SELF_HOSTED_URL='https://api.my-domain.com'
CONVEX_SELF_HOSTED_ADMIN_KEY='<your admin key>'
npx convex dev

cat > ./convex/scheam.ts << 'EOF'
import { defineSchema, defineTable } from "convex/server";
import { v } from "convex/values";

export default defineSchema({
  users: defineTable({
    name: v.string(),
    email: v.string(),
    password: v.string(),
  }),
});
EOF

open http://localhost:6791/data
Was this page helpful?