Update docs
This commit is contained in:
parent
e59f03b970
commit
f93b7e51ac
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue