mirror of
https://github.com/plausible/hosting.git
synced 2025-07-01 01:27:30 -05:00
Update docs
This commit is contained in:
@ -1,5 +1,14 @@
|
|||||||
#+TITLE: Setup Plausible
|
#+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
|
* Setup
|
||||||
|
|
||||||
#+NAME: create namespace
|
#+NAME: create namespace
|
||||||
@ -38,7 +47,7 @@
|
|||||||
#+NAME: create configuration
|
#+NAME: create configuration
|
||||||
#+begin_src shell :results silent
|
#+begin_src shell :results silent
|
||||||
kubectl -n plausible create configmap plausible \
|
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
|
#+end_src
|
||||||
|
|
||||||
#+NAME: install Plausible
|
#+NAME: install Plausible
|
||||||
|
Reference in New Issue
Block a user