From a5488b1258a8206d6003cc0d60006ef9c2c35110 Mon Sep 17 00:00:00 2001 From: Gianni Carafa Date: Tue, 11 Apr 2023 22:07:52 +0200 Subject: [PATCH] add etherpad --- services/etherpad/app.yaml | 58 ++++++++++++++++++++++++++++++++++ services/etherpad/service.yaml | 14 ++++++++ 2 files changed, 72 insertions(+) create mode 100644 services/etherpad/app.yaml create mode 100644 services/etherpad/service.yaml diff --git a/services/etherpad/app.yaml b/services/etherpad/app.yaml new file mode 100644 index 000000000..49802dce4 --- /dev/null +++ b/services/etherpad/app.yaml @@ -0,0 +1,58 @@ +apiVersion: application.kubero.dev/v1alpha1 +kind: KuberoApp +metadata: + name: etherpad +spec: + name: etherpad + deploymentstrategy: docker + image: + repository: etherpad/etherpad + tag: latest + containerPort: "8080" + run: + securityContext: + readOnlyRootFilesystem: false + addons: + - displayName: Kubero Postgresql + env: [] + icon: /img/addons/postgresql.png + id: kubero-operator + kind: KuberoPostgresql + resourceDefinitions: + KuberoPostgresql: + apiVersion: application.kubero.dev/v1alpha1 + kind: KuberoPostgresql + metadata: + name: etherpad-postgresql + spec: + postgresql: + global: + postgresql: + auth: + database: postgresql + password: etherpad + postgresPassword: etherpad + username: etherpad + storageClass: standard + primary: + persistence: + size: 1Gi + envVars: + - name: DB_TYPE + value: postgres + - name: DB_PASS + value: etherpad + - name: DB_USER + value: etherpad + - name: DB_NAME + value: postgresql + - name: DB_HOST + value: etherpad-postgresql + - name: DB_PORT + value: "5432" + cronjobs: [] + extraVolumes: [] + web: + replicaCount: 1 + worker: + replicaCount: 0 \ No newline at end of file diff --git a/services/etherpad/service.yaml b/services/etherpad/service.yaml new file mode 100644 index 000000000..b6eab8db7 --- /dev/null +++ b/services/etherpad/service.yaml @@ -0,0 +1,14 @@ +name: Etherpad +description: 'Etherpad is a real-time collaborative editor scalable to thousands of simultaneous real time users.' +tags: +- collaboration +- documents +- editor +- writing +source: https://github.com/ether/etherpad-lite +website: https://etherpad.org/ +documentation: +- https://github.com/ether/etherpad-lite/blob/develop/doc/docker.md +icon: https://avatars.githubusercontent.com/u/181731?s=200&v=4 +screenshots: +- https://raw.githubusercontent.com/ether/etherpad-lite/develop/doc/images/etherpad_demo.gif \ No newline at end of file