Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template / Add Textbee #613

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 85 additions & 0 deletions services/textbee-api/app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
apiVersion: application.kubero.dev/v1alpha1
kind: KuberoApp
metadata:
name: textbee-api
annotations:
kubero.dev/template.architecture: '["amd64", "arm64"]'
kubero.dev/template.description: "textbee.dev is an opensource and free sms-gatway for sending SMS messages through API or dashboard web interface."
kubero.dev/template.icon: "https://avatars.githubusercontent.com/u/38871878"
kubero.dev/template.installation: ""
kubero.dev/template.links: "[]"
kubero.dev/template.screenshots: "[]"
kubero.dev/template.source: "https://github.com/vernu/textbee"
kubero.dev/template.categories: '["notification"]'
kubero.dev/template.title: "Textbee API"
kubero.dev/template.website: "https://textbee.dev/"
labels:
manager: kubero
spec:
name: textbee-api
deploymentstrategy: docker
envVars:
- name: JWT_SECRET
value: random32
- name: JWT_EXPIRATION
value: 60d
- name: FRONTEND_URL
value: https://textbee.localhost
- name: MONGO_URI
value: mongodb://textbee:textbee@textbee-api-mongodb:27017/textbee
- name: FIREBASE_PROJECT_ID
value: ""
- name: FIREBASE_PRIVATE_KEY_ID
value: ""
- name: FIREBASE_PRIVATE_KEY
value: ""
- name: FIREBASE_CLIENT_EMAIL
value: ""
- name: FIREBASE_CLIENT_ID
value: ""
- name: FIREBASE_CLIENT_C509_CERT_URL
value: ""
extraVolumes: []
cronjobs: []
addons:
- displayName: MongoDB
env: []
icon: /img/addons/mongo.svg
id: kubero-operator
kind: KuberoMongoDB
resourceDefinitions:
KuberoMongoDB:
apiVersion: application.kubero.dev/v1alpha1
kind: KuberoMongoDB
metadata:
name: textbee-api-mongodb
spec:
mongodb:
architecture: standalone
auth:
databases:
- textbee
passwords:
- textbee
rootPassword: textbee
rootUser: root
usernames:
- textbee
directoryPerDB: true
disableJavascript: false
global:
storageClass: standard
persistence:
size: 1Gi
replicaCount: 1
version:
latest: 0.1.8
web:
replicaCount: 1
worker:
replicaCount: 0
image:
containerPort: 8080
pullPolicy: Always
repository: ghcr.io/vernu/textbee/api
tag: latest
57 changes: 57 additions & 0 deletions services/textbee/app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
apiVersion: application.kubero.dev/v1alpha1
kind: KuberoApp
metadata:
name: textbee
annotations:
kubero.dev/template.architecture: '["amd64", "arm64"]'
kubero.dev/template.description: "textbee.dev is an opensource and free sms-gatway for sending SMS messages through API or dashboard web interface."
kubero.dev/template.icon: "https://avatars.githubusercontent.com/u/38871878"
kubero.dev/template.installation: ""
kubero.dev/template.links: "[]"
kubero.dev/template.screenshots: "[]"
kubero.dev/template.source: "https://github.com/vernu/textbee"
kubero.dev/template.categories: '["notification"]'
kubero.dev/template.title: "Textbee"
kubero.dev/template.website: "https://textbee.dev/"
labels:
manager: kubero
spec:
name: textbee
deploymentstrategy: docker
envVars:
- name: NEXTAUTH_URL
value: https://textbee.localhost
- name: AUTH_SECRET
value: random32
- name: NEXT_PUBLIC_API_BASE_URL
value: http://textbee-api/api/v1
- name: NEXT_PUBLIC_GOOGLE_CLIENT_ID
value: ""
- name: NEXT_PUBLIC_TAWKTO_EMBED_URL
value: ""
- name: ADMIN_EMAIL
value: ""
- name: DATABASE_URL
value: mongodb://textbee:textbee@textbee-api-mongodb:27017/textbee
- name: MAIL_HOST
value: ""
- name: MAIL_PORT
value: ""
- name: MAIL_USER
value: ""
- name: MAIL_PASS
value: ""
- name: MAIL_FROM
value: ""
extraVolumes: []
cronjobs: []
addons: []
web:
replicaCount: 1
worker:
replicaCount: 0
image:
containerPort: "3000"
pullPolicy: Always
repository: ghcr.io/vernu/textbee/web
tag: latest
Loading