Skip to content

docmost/k8s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WIP

# clone repo to docmost folder
git clone https://github.com/docmost/k8s docmost

Install Traefik Ingress

# create traefik namespace
kubectl create namespace traefik

helm repo add traefik https://traefik.github.io/charts
helm repo update
helm install traefik traefik/traefik

kubectl apply -f traefik/access.yaml -n traefik
helm install -f traefik/values.yaml traefik traefik/traefik -n traefik

Install cert manager for SSL (important cause distributed ssl not available in traefik community edition)

helm repo add jetstack https://charts.jetstack.io --force-update
helm install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --version v1.18.0 --set crds.enabled=true
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.17.1/cert-manager.crds.yaml
kubectl apply -f traefik/issuer.yaml -n traefik
kubectl apply -f traefik/cert-manager.yaml -n traefik

Install docmost

# create kubernetes namespace
kubectl create namespace docmost

# run the yaml file in the docmost directory
kubectl apply -f docmost -n docmost

Helpful commands:

# get pod details
kubectl describe pods -l app=docmost-app -n docmost

# view logs
kubectl logs deployment/docmost-app -n docmost

Traefik: https://doc.traefik.io/traefik/getting-started/install-traefik/ Cert manager: https://cert-manager.io/docs/getting-started/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published