mirror of
https://github.com/zadam/trilium.git
synced 2025-12-04 22:44:25 +01:00
Updated Kubernetes server installation (markdown)
parent
30278250e5
commit
97c9031188
@ -1,27 +1 @@
|
|||||||
As Trilium can be run in Docker it also can be deployed in Kubernetes.
|
See https://docs.triliumnotes.org/user-guide/setup/server/installation/kubernetes.
|
||||||
Trilium can be applied to Kubernetes manually or per helm chart.
|
|
||||||
|
|
||||||
The recommended way is helm.
|
|
||||||
|
|
||||||
# Root privileges
|
|
||||||
|
|
||||||
Trilium docker container needs to be run with root privileges. The node process inside the container will be started with reduced privileges (uid:gid 1000:1000) after some initialization logic. Make sure that you don't use a security context which changes the user id.
|
|
||||||
To use a different uid:gid for file storage and the application, please use the USER_UID & USER_GID environment variables.
|
|
||||||
|
|
||||||
The docker image will also fix the permissions of /home/node so you don't have to use an init container.
|
|
||||||
|
|
||||||
# Helm Install
|
|
||||||
|
|
||||||
Unofficial helm chart by [ohdearaugustin](https://github.com/ohdearaugustin): https://github.com/ohdearaugustin/charts
|
|
||||||
|
|
||||||
## Add helm repository
|
|
||||||
|
|
||||||
```
|
|
||||||
helm repo add <repo_name> https://ohdearaugustin.github.io/charts/
|
|
||||||
"<repo_name>" has been added to your repositories
|
|
||||||
```
|
|
||||||
|
|
||||||
## How to install a chart
|
|
||||||
Just `helm install <repo_name>/trilium-notes`.
|
|
||||||
|
|
||||||
For more information on using Helm, refer to the Helm documentation.
|
|
||||||
Loading…
x
Reference in New Issue
Block a user