Sign inSign up

rxnfilimonov/ingrid

By rxnfilimonov

•Updated over 1 year ago

Unofficial builds of RenderX InGrid REST API formatting engine for Kubernetes.

Image
0

1.1K

rxnfilimonov/ingrid repository overview

These images are built from release binaries of Ingrid and XEP formatter engine and are suitable to run behind Kubernetes LB (see examples below). Included license is Trial stamped version and should be replaced by a proper version obtained from RenderX.com⁠.

Product information, manuals and API reference for InGrid is available here⁠

Images are built with a Dockerfile provided below, please note locations for license.xml, fairy.conf and xep.xml that you may want to override with Secret or ConfigMap as needed:

FROM eclipse-temurin:11-jre-alpine

RUN apk update && \
    apk add --update \
        ca-certificates

WORKDIR /engine/

ADD ingrid /engine/ingrid/
ADD xep /engine/xep/

COPY ./engine /engine/ingrid/bin/engine
COPY ./fairy.conf /engine/ingrid/etc/fairy.conf
COPY ./license.xml /engine/xep/etc/license.xml
COPY ./xep.xml /engine/xep/xep.xml

EXPOSE 6677/tcp

CMD ["java", "-cp", "/engine/ingrid/lib/ingrid.jar:/engine/xep/lib/*", "com.renderx.ingrid.XepMultiplexer", "/engine/ingrid/etc/fairy.conf"]

InGrid can be deployed behind Kubernetes LB exposing REST API port 6677 with a manifest similar to example below:

apiVersion: apps/v1
kind: Deployment
metadata:
  name: rx-ingrid
  namespace: rx-ingrid
  labels:
    rx: ingrid
spec:
  replicas: 1
  selector:
    matchLabels:
      rx: ingrid
  template:
    metadata:
      labels:
        rx: ingrid
    spec:
      containers:
        - name: ingrid
          image: docker.io/rxnfilimonov/ingrid:latest
          imagePullPolicy: Always
          ports:
            - containerPort: 6677
              name: ingrid-port
          livenessProbe:
            httpGet:
              path: /
              port: 6677
            initialDelaySeconds: 600
            periodSeconds: 900
---
apiVersion: v1
kind: Service
metadata:
  name: rx-ingrid
  namespace: rx-ingrid
spec:
  type: LoadBalancer
  selector:
    rx: ingrid
  ports:
    - protocol: TCP
      port: 6677
      targetPort: ingrid-port

Tag summary

Content type

Image

Digest

sha256:91483aaf8…

Size

68.3 MB

Last updated

over 1 year ago

docker pull rxnfilimonov/ingrid