2024-05-05 09:04:15Ralph Thesen:
added: helm chart example and link. fixed: Typos, tabs, trailing whitespaces.
home.md ..
@@ 21,7 21,7 @@
### Installation
-
Please read the [installation guide](/Installation) to get started, proceed to the [configuration guide](/Configuration)
+
Please read the [installation guide](/Installation) to get started, proceed to the [configuration guide](/Configuration).
### Contributing
installation.md ..
@@ 1,6 1,6 @@
# Installation
-
The recommend way of running An Otter Wiki is via [[docker compose|Installation#using-docker-compose]].
+
The recommend way of running An Otter Wiki is via [[docker compose|Installation#using-docker-compose]]. For deploying in kubernetes via [[Helm|Installation#helm]].
## Requirements
@@ 12,20 12,20 @@
## Using docker cli
-
An Otter Wiki is published as a Docker image on Docker hub as [`redimp/otterwiki`](https://hub.docker.com/r/redimp/otterwiki). The stable images are build for the plattforms `amd64`, `arm64`, `armv7` and `armv6`.
+
An Otter Wiki is published as a Docker image on Docker hub as [`redimp/otterwiki`](https://hub.docker.com/r/redimp/otterwiki). The stable images are build for the plattforms `amd64`, `arm64`, `armv7` and `armv6`.
Make sure you have [docker](https://docs.docker.com/engine/install/) installed.
To run an otter wiki via docker cli, listening on port 8080 and using a local directory for data persistency, use the following command:
```bash
docker run --name otterwiki \
-
-p 8080:80 \
+
-p 8080:80 \
-v $PWD/app-data:/app-data \
redimp/otterwiki:2
```
Open the wiki via http://127.0.0.1:8080 if you are running the docker command on your machine.
-
You can configure the application with environment variables e.g.
+
You can configure the application with environment variables e.g.
```
-e SITE_NAME="My Wiki" -e SITE_DESCRIPTION="An otter wiki run via docker"
```
@@ 33,7 33,7 @@
## Using docker compose
-
The recommended way of running An Otter Wiki is via `docker compose`.
+
The recommended way of running An Otter Wiki is via `docker compose`.
1. Create a `docker-compose.yaml` file
@@ 70,10 70,10 @@
environemnt:
MAIL_DEFAULT_SENDER: no-reply@example.com
MAIL_SERVER: smtp.server.tld
-
MAIL_PORT: 465
+
MAIL_PORT: 465
MAIL_USERNAME: otterwiki@example.com
-
MAIL_PASSWORD: somepassword
-
MAIL_USE_SSL: True
+
MAIL_PASSWORD: somepassword
+
MAIL_USE_SSL: True
```
For all configuration options please see [[Configuration]].
@@ 82,11 82,28 @@
An Otter Wiki can be run with `podman` and `podman-compose` in the same way as with` docker` and `docker compose` please see above.
+
## Kubernetes
+
+
An Otter Wiki can be conveniently deployed on kubernetes using the official Helm Chart.
+
For example you can create a new deployment with an ingress on `otterwiki.example.com` with
+
+
```bash
+
helm install otterwiki-example \
+
--set config.SITE_DESCRIPTION="An Otter Wiki deployed with Helm" \