Sign inSign up

wyuenho/hyperion.ng

By wyuenho

•Updated over 4 years ago

Up-to-date hyperion.ng image for running on Ubuntu and Raspberry Pi 4 with bug fix

Image
0

10K+

wyuenho/hyperion.ng repository overview

Custom up-to-date hyperion.ng image for running on Ubuntu and Raspberry Pi 4 with this bug fix applied⁠.

Currently only built for linux/arm64.

⁠Docker Config

This is an example config to deploy hyperion.ng with docker-compose:

version: '3'
services:
  hyperion:
    container_name: hyperion
    image: wyuenho/hyperion.ng:2.0.13
    network_mode: host
    privileged: true
    ports:
      - 8090:8090/tcp
      - 19400:19400/tcp
      - 19444:19444/tcp
      - 19445:19445/tcp
    volumes:
      - ./hyperion:/root/.hyperion
    restart: unless-stopped

⁠Kubernetes Config

This is an example config when deploying to k3s using a local-path persistent volume provisioner with a Retain reclaimPolicy and Traefik ingress:

apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: local-path-retained
provisioner: rancher.io/local-path
volumeBindingMode: WaitForFirstConsumer
reclaimPolicy: Retain
---
apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
  name: traefik
  namespace: kube-system
spec:
  valuesContent: |-
    service:
      type: ClusterIP
    ports:
      hyperionflatbuf:
        port: 19400
        expose: true
      hyperionprotobf:
        port: 19445
        expose: true
      hyperionjsonrpc:
        port: 19444
        expose: true
    persistence:
      enabled: true
      storageClass: local-path-retained
---
apiVersion: v1
kind: Namespace
metadata:
  name: hyperion
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: hyperion
  namespace: hyperion
spec:
  accessModes:
    - ReadWriteOnce
  storageClassName: local-path-retained
  resources:
    requests:
      storage: 10Mi
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: hyperion
  namespace: hyperion
spec:
  replicas: 1
  selector:
    matchLabels:
      app: hyperion
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        app: hyperion
      namespace: hyperion
    spec:
      containers:
        - image: wyuenho/hyperion.ng:2.0.13
          name: hyperion
          ports:
            - containerPort: 8090
            - containerPort: 19400
            - containerPort: 19444
            - containerPort: 19445
          securityContext:
            privileged: true
          volumeMounts:
            - mountPath: /root/.hyperion
              name: hyperion
      restartPolicy: Always
      volumes:
        - name: hyperion
          persistentVolumeClaim:
            claimName: hyperion
---
apiVersion: v1
kind: Service
metadata:
  name: hyperion
  namespace: hyperion
spec:
  selector:
    app: hyperion
  ports:
    - name: http
      port: 8090
    - name: flatbuffers
      port: 19400
    - name: jsonrpc
      port: 19444
    - name: protobuf
      port: 19445
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: hyperion-dashboard
  namespace: hyperion
spec:
  entryPoints:
    - web
  routes:
    - kind: Rule
      match: Host(`hyperion.home.local`) && PathPrefix(`/`)
      services:
        - name: hyperion
          port: http
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteTCP
metadata:
  name: hyperion-api-flatbuffers
  namespace: hyperion
spec:
  entryPoints:
    - hyperionflatbuf
  routes:
    - match: HostSNI(`*`)
      services:
        - name: hyperion
          port: flatbuffers
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteTCP
metadata:
  name: hyperion-api-jsonrpc
  namespace: hyperion
spec:
  entryPoints:
    - hyperionjsonrpc
  routes:
    - match: HostSNI(`*`)
      services:
        - name: hyperion
          port: jsonrpc
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteTCP
metadata:
  name: hyperion-api-protobuf
  namespace: hyperion
spec:
  entryPoints:
    - hyperionprotobf
  routes:
    - match: HostSNI(`*`)
      services:
        - name: hyperion
          port: protobuf

Tag summary

Content type

Image

Digest

Size

131.6 MB

Last updated

over 4 years ago

docker pull wyuenho/hyperion.ng