Update docs

This commit is contained in:
Caleb Woodbine 2020-10-08 22:15:38 +13:00
parent e59f03b970
commit f93b7e51ac
1 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,14 @@
#+TITLE: Setup Plausible
* Prelimiary requirements
- Minikube
- Postgres-Operator
** Notes
- Minikube can be switched out for Kind
- Postgres manifests are also included, in case you don't want to deploy a highly available Postgres database locally (~DATABASE_URL~ will need to be updated also)
* Setup
#+NAME: create namespace
@ -38,7 +47,7 @@
#+NAME: create configuration
#+begin_src shell :results silent
kubectl -n plausible create configmap plausible \
--from-literal=BASE_URL=http://192.168.39.97:31943
--from-literal=BASE_URL=http://$(minikube ip):$(kubectl -n plausible get svc plausible -o=jsonpath='{.spec.ports[0].nodePort}')
#+end_src
#+NAME: install Plausible