From b1295223b131d8b750c9a552de775cc89ed26ea6 Mon Sep 17 00:00:00 2001 From: Paul Payne Date: Fri, 19 Jun 2026 21:33:20 +0000 Subject: [PATCH] Adds ohmyform app. --- ohmyform/app.yaml | 5 ++ ohmyform/versions/1/README.md | 35 +++++++++ ohmyform/versions/1/db-init-job.yaml | 59 +++++++++++++++ ohmyform/versions/1/deployment-api.yaml | 95 +++++++++++++++++++++++++ ohmyform/versions/1/deployment-ui.yaml | 69 ++++++++++++++++++ ohmyform/versions/1/ingress.yaml | 33 +++++++++ ohmyform/versions/1/kustomization.yaml | 16 +++++ ohmyform/versions/1/manifest.yaml | 26 +++++++ ohmyform/versions/1/namespace.yaml | 4 ++ ohmyform/versions/1/service.yaml | 27 +++++++ 10 files changed, 369 insertions(+) create mode 100644 ohmyform/app.yaml create mode 100644 ohmyform/versions/1/README.md create mode 100644 ohmyform/versions/1/db-init-job.yaml create mode 100644 ohmyform/versions/1/deployment-api.yaml create mode 100644 ohmyform/versions/1/deployment-ui.yaml create mode 100644 ohmyform/versions/1/ingress.yaml create mode 100644 ohmyform/versions/1/kustomization.yaml create mode 100644 ohmyform/versions/1/manifest.yaml create mode 100644 ohmyform/versions/1/namespace.yaml create mode 100644 ohmyform/versions/1/service.yaml diff --git a/ohmyform/app.yaml b/ohmyform/app.yaml new file mode 100644 index 0000000..9f3f943 --- /dev/null +++ b/ohmyform/app.yaml @@ -0,0 +1,5 @@ +name: ohmyform +is: ohmyform +description: OhMyForm is a free, open-source form builder for creating surveys, questionnaires and data collection forms. +icon: https://avatars.githubusercontent.com/u/55396166?s=200&v=4 +latest: "1" diff --git a/ohmyform/versions/1/README.md b/ohmyform/versions/1/README.md new file mode 100644 index 0000000..177d0d8 --- /dev/null +++ b/ohmyform/versions/1/README.md @@ -0,0 +1,35 @@ +# OhMyForm + +OhMyForm is an open-source form builder for creating surveys, questionnaires, and data collection forms. + +## Dependencies + +- **PostgreSQL** - Database for storing forms and submissions +- **Redis** - Used for caching + +## Configuration + +Key settings in `config.yaml`: + +- **domain** - Where OhMyForm will be accessible +- **adminEmail** - Admin account email (defaults to your operator email) + +## First-Time Setup + +1. Add and deploy the app: + ```bash + wild app add ohmyform + wild app deploy ohmyform + ``` + +2. Log in with: + - **Email**: value of `adminEmail` in your config + - **Password**: value of `adminPassword` in your `secrets.yaml` + +3. Create your first form from the dashboard and share it via link or embed it in a page. + +## Notes + +- The `secretKey` is auto-generated in `secrets.yaml` +- Form submissions can be exported as CSV from the admin panel +- Public forms can be filled out without an account diff --git a/ohmyform/versions/1/db-init-job.yaml b/ohmyform/versions/1/db-init-job.yaml new file mode 100644 index 0000000..a93b30f --- /dev/null +++ b/ohmyform/versions/1/db-init-job.yaml @@ -0,0 +1,59 @@ +apiVersion: batch/v1 +kind: Job +metadata: + name: ohmyform-db-init + namespace: {{ .namespace }} +spec: + template: + 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_HOST} -U postgres <