/kubernetes-invoiceninja

Invoiceninja for Kubernetes

Primary LanguageCSS

Invoiceninja on Kubernetes

invoiceninja ON kubernetes

This repo is for building multiarch Docker image from official Invoiceninja GitHub repo. When deploying please note that some secrets and configmaps are encrypted (git-crypt) so you will have to create them yourself.

Building the images

For more in-depth tutorial please see this.

docker run --privileged docker/binfmt:66f9012c56a8316f9244ffd7622d7c21c1f6f28d
docker buildx create --name mybuilder
docker buildx use mybuilder
docker buildx inspect --bootstra
# Replace tag user and tag with correct values
docker buildx build --platform linux/amd64,linux/arm64 --push -t zurajm/invoiceninja:alpine-4.5.17 ./invoiceninja-dockerfiles/alpine/

Deploying

# It gets deployed in invoceninja namespace by default
kubectl apply -f configmap-invoiceninja-env.yaml
kubectl apply -f configmap-invoiceninja-env.yaml
kubectl apply -f secret-invoiceninja-env.yaml
kubectl apply -f deployment-invoiceninja.yaml
kubectl apply -f service-invoiceninja.yaml
kubectl apply -f ingress-invoiceninja.yaml