diff --git a/typebot/app.yaml b/typebot/app.yaml new file mode 100644 index 0000000..97b3745 --- /dev/null +++ b/typebot/app.yaml @@ -0,0 +1,5 @@ +name: typebot +is: typebot +description: Typebot is a powerful open-source chatbot builder that lets you create conversational forms and chatbots with a no-code interface. +icon: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/typebot.svg +latest: "3" diff --git a/typebot/versions/3/README.md b/typebot/versions/3/README.md new file mode 100644 index 0000000..010b613 --- /dev/null +++ b/typebot/versions/3/README.md @@ -0,0 +1,38 @@ +# Typebot + +Typebot is a chatbot builder that lets you create conversational forms, surveys, and chat flows, and embed them anywhere. + +## Dependencies + +- **PostgreSQL** - Database for storing bots and submissions +- **SMTP** - For magic link login emails + +## Configuration + +Key settings in `config.yaml`: + +- **builderDomain** - Where the Typebot builder UI is accessible (default: `typebot.{your-cloud-domain}`) +- **viewerDomain** - Where published chatbots are served (default: `bot.{your-cloud-domain}`) +- **adminEmail** - Email address that is granted admin access (defaults to your operator email) +- **storage** - Persistent volume size (default: `2Gi`) +- **smtp** - Email settings inherited from your Wild Cloud SMTP service + +## First-Time Setup + +1. Add and deploy the app: + ```bash + wild app add typebot + wild app deploy typebot + ``` + +2. Visit the builder URL and sign in with the `adminEmail` address. + +3. Typebot sends a magic link to that email — click it to log in. + +4. Create your first typebot from the dashboard and publish it to the viewer domain. + +## Notes + +- Typebot uses **magic link authentication** — SMTP must be working for login to function +- The builder UI and the viewer are on separate domains — both must be accessible for published bots to work +- The `adminEmail` is the only account that can access the builder by default; invite others via the workspace settings diff --git a/typebot/versions/3/db-init-job.yaml b/typebot/versions/3/db-init-job.yaml new file mode 100644 index 0000000..c6fddf4 --- /dev/null +++ b/typebot/versions/3/db-init-job.yaml @@ -0,0 +1,63 @@ +apiVersion: batch/v1 +kind: Job +metadata: + name: typebot-db-init + labels: + component: db-init +spec: + template: + metadata: + labels: + component: db-init + spec: + securityContext: + runAsNonRoot: true + runAsUser: 999 + runAsGroup: 999 + seccompProfile: + type: RuntimeDefault + containers: + - name: db-init + image: postgres:17 + command: ["/bin/bash", "-c"] + args: + - | + PGPASSWORD=${POSTGRES_ADMIN_PASSWORD} psql -h ${DB_HOSTNAME} -U postgres <