https://github.com/fischerscode/k8s-bookstack
https://github.com/fischerscode/k8s-bookstack
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fischerscode/k8s-bookstack
- Owner: fischerscode
- License: gpl-3.0
- Created: 2020-11-02T19:19:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-11T00:05:01.000Z (about 5 years ago)
- Last Synced: 2025-06-09T21:04:56.347Z (12 months ago)
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# k8s-BookStack
Quickly deploy a BookStack wiki to your kubernetes cluster.
---
### Deployment:
0. Create a new namespace using `kubectl create ns newnamespace`.
Use this namespace in all further `kubectl` commands by appending `-n newnamespace`.
1. Store your database credentials in a secret called `bookstack-database`. This command generates a random user password and root password.
```shell
kubectl create secret generic bookstack-database --from-literal password=$(cat /dev/urandom | env LC_CTYPE=C tr -dc a-zA-Z0-9 | head -c 32; echo) --from-literal root=$(cat /dev/urandom | env LC_CTYPE=C tr -dc a-zA-Z0-9 | head -c 32; echo) --from-literal username=bookstack-user
```
2. Deploy mariadb
```shell
kubectl apply -f mariadb.yaml
```
3. Deploy BookStack
```shell
kubectl apply -f bookstack.yaml
```
---
### Usage:
The default login is `admin@admin.com` with password `password`. Make sure to change your password.