Self-hosted inventory with Homebox
Homebox is the inventory and organization system built for the Home User which sounds exactly like what I want, to keep track of where things go.
Installation
Note: the original project from hay-kot was archived last month, so this post is based on the currently active fork at github.com/sysadminsmedia/homebox.
To deploy Homebox in Kubernetes, the setup is yet another fork of the
Audiobookshelf deployment.
A single phisical volume to store the application's databases is
needed, while the books are read from /home/depot/books/:
This simple setup is based on Homebox's Docker-Dompose documentation:
Kubernetes deployment: homebox.yaml
| homebox.yaml | |
|---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | |
$ kubectl apply -f homebox.yaml
namespace/homebox created
persistentvolume/homebox-pv-data created
persistentvolumeclaim/homebox-pvc-data created
deployment.apps/homebox created
service/homebox-svc created
ingress.networking.k8s.io/homebox-ingress created
$ kubectl -n homebox get all
NAME READY STATUS RESTARTS AGE
pod/cm-acme-http-solver-jk4cr 1/1 Running 0 31s
pod/homebox-7fb9d44d48-wxj6q 1/1 Running 0 29m
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/cm-acme-http-solver-2xqr8 NodePort 10.102.88.72 <none> 8089:32649/TCP 31s
service/homebox-svc NodePort 10.96.235.150 <none> 7745:30745/TCP 91m
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/homebox 1/1 1 1 91m
NAME DESIRED CURRENT READY AGE
replicaset.apps/homebox-7fb9d44d48 1 1 1 29m
Configuration
Homebox is available on lexicon:30745 locally, and at https://homebox.ssl.uu.am remotely. The initial login screen allows self-registering an account and beyon that there is not much more to explain.
