Skip to content

Commit

Permalink
Merge pull request #498 from kubero-dev/template/add-libretranslate
Browse files Browse the repository at this point in the history
Template / Add Libretranslate
  • Loading branch information
mms-gianni authored Dec 14, 2024
2 parents 6d5a288 + d010480 commit ee3c7b2
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions services/libretranslate/app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
apiVersion: application.kubero.dev/v1alpha1
kind: KuberoApp
metadata:
name: libtranslate
annotations:
kubero.dev/template.architecture: "[]"
kubero.dev/template.description: "Free and Open Source Machine Translation API. Self-hosted, offline capable and easy to setup."
kubero.dev/template.icon: "https://avatars.githubusercontent.com/u/77352747"
kubero.dev/template.installation: ""
kubero.dev/template.links: "[]"
kubero.dev/template.screenshots: '["https://elest.io/images/softwares/185/screenshot2.png"]'
kubero.dev/template.source: "https://github.com/LibreTranslate/LibreTranslate"
kubero.dev/template.tags: '[ "translation", "language"]'
kubero.dev/template.title: "LibreTranslate"
kubero.dev/template.website: "https://libretranslate.com"
labels:
manager: kubero
spec:
name: libtranslate
deploymentstrategy: docker
envVars:
- name: LT_UPDATE_MODELS
value: "true"
- name: LT_LOAD_ONLY
value: en,es,fr,de,ja
- name: LT_SSL
value: "false"
extraVolumes:
- accessMode: ReadWriteOnce
accessModes:
- ReadWriteOnce
emptyDir: false
mountPath: /app/db
name: libtranslate-db-volume
size: 1Gi
storageClass: standard
- accessMode: ReadWriteOnce
accessModes:
- ReadWriteOnce
emptyDir: false
mountPath: /home/libretranslate/.local
name: libtranslate-models-volume
size: 1Gi
storageClass: standard
cronjobs: []
addons: []
web:
replicaCount: 1
worker:
replicaCount: 0
image:
containerPort: "5000"
pullPolicy: Always
repository: libretranslate/libretranslate
tag: latest

0 comments on commit ee3c7b2

Please sign in to comment.