https://github.com/docmost/k8s
https://github.com/docmost/k8s
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/docmost/k8s
- Owner: docmost
- Created: 2025-06-12T09:00:14.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-12T10:02:43.000Z (about 1 year ago)
- Last Synced: 2025-06-12T11:20:14.540Z (about 1 year ago)
- Size: 21.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WIP
```sh
# clone repo to docmost folder
git clone https://github.com/docmost/k8s docmost
```
## Install Traefik Ingress
```sh
# 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
```sh
# 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/