mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2026-02-04 15:53:28 +00:00
lingarr e libreTranslate
This commit is contained in:
26
roles/libreTranslate/files/libretranslate-deployment.yaml
Normal file
26
roles/libreTranslate/files/libretranslate-deployment.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: libretranslate
|
||||
namespace: stack-arr
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: libretranslate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: libretranslate
|
||||
spec:
|
||||
containers:
|
||||
- name: libretranslate
|
||||
image: libretranslate/libretranslate:latest
|
||||
ports:
|
||||
- containerPort: 5000
|
||||
env:
|
||||
- name: LT_HTTP_HOST
|
||||
value: "0.0.0.0"
|
||||
- name: LT_HTTP_PORT
|
||||
value: "5000"
|
||||
|
||||
12
roles/libreTranslate/files/libretranslate-service.yaml
Normal file
12
roles/libreTranslate/files/libretranslate-service.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: libretranslate-service
|
||||
namespace: stack-arr
|
||||
spec:
|
||||
ports:
|
||||
- port: 5000
|
||||
targetPort: 5000
|
||||
selector:
|
||||
app: libretranslate
|
||||
type: ClusterIP
|
||||
Reference in New Issue
Block a user