| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- annotations:
- kompose.cmd: kompose convert -f docker-compose.yml
- kompose.version: 1.34.0 (cbf2835db)
- labels:
- io.kompose.service: sharelatex
- name: sharelatex
- namespace: overleaf
- spec:
- replicas: 1
- selector:
- matchLabels:
- io.kompose.service: sharelatex
- strategy:
- type: Recreate
- template:
- metadata:
- annotations:
- kompose.cmd: kompose convert -f docker-compose.yml
- kompose.version: 1.34.0 (cbf2835db)
- labels:
- io.kompose.service: sharelatex
- spec:
- containers:
- - env:
- - name: OVERLEAF_IS_SERVER_PRO
- value: "false"
- - name: EMAIL_CONFIRMATION_DISABLED
- valueFrom:
- configMapKeyRef:
- key: EMAIL_CONFIRMATION_DISABLED
- name: sharelatex-variables
- - name: ENABLED_LINKED_FILE_TYPES
- valueFrom:
- configMapKeyRef:
- key: ENABLED_LINKED_FILE_TYPES
- name: sharelatex-variables
- - name: ENABLE_CONVERSIONS
- valueFrom:
- configMapKeyRef:
- key: ENABLE_CONVERSIONS
- name: sharelatex-variables
- - name: EXTERNAL_AUTH
- valueFrom:
- configMapKeyRef:
- key: EXTERNAL_AUTH
- name: sharelatex-variables
- - name: GIT_BRIDGE_ENABLED
- value: "false"
- - name: GIT_BRIDGE_HOST
- value: git-bridge
- - name: GIT_BRIDGE_PORT
- value: "8000"
- - name: OVERLEAF_APP_NAME
- valueFrom:
- configMapKeyRef:
- key: OVERLEAF_APP_NAME
- name: sharelatex-variables
- - name: OVERLEAF_MONGO_URL
- valueFrom:
- configMapKeyRef:
- key: OVERLEAF_MONGO_URL
- name: sharelatex-variables
- - name: OVERLEAF_REDIS_HOST
- valueFrom:
- configMapKeyRef:
- key: OVERLEAF_REDIS_HOST
- name: sharelatex-variables
- - name: OVERLEAF_INVITE_TOKEN_SECRET
- value: "VFADRr67o9R2zDKV03+IFo4ykyK4WMnGe3q/xK7/fjY="
- - name: REDIS_HOST
- valueFrom:
- configMapKeyRef:
- key: REDIS_HOST
- name: sharelatex-variables
- - name: REDIS_PORT
- valueFrom:
- configMapKeyRef:
- key: REDIS_PORT
- name: sharelatex-variables
- - name: V1_HISTORY_URL
- value: http://sharelatex:3100/api
- # image: harbor.reymota.es/overleaf/sharelatex:tex-9-full
- image: harbor.reymota.es/overleaf/sharelatex:tex-12-cep
- imagePullPolicy: IfNotPresent
- # image: abompotas/overleaf:5
- # image: tuetenk0pp/sharelatex-full
- name: overleaf
- # securityContext:
- # allowPrivilegeEscalation: false
- # capabilities:
- # drop:
- # - ALL
- # privileged: false
- # readOnlyRootFilesystem: true
- # seLinuxOptions: {}
- # seccompProfile:
- # type: RuntimeDefault
- # runAsUser: 0
- # runAsGroup: 0
- # runAsNonRoot: true
- ports:
- - containerPort: 80
- protocol: TCP
- volumeMounts:
- - mountPath: /var/lib/overleaf
- name: overleaf-data
- securityContext:
- fsGroup: 65534
- # fsGroupChangePolicy: Always
- runAsUser: 0
- runAsGroup: 0
- imagePullSecrets:
- - name: myregistrykey
- restartPolicy: Always
- terminationGracePeriodSeconds: 60
- volumes:
- - name: overleaf-data
- persistentVolumeClaim:
- claimName: overleaf-data
|