IMLC.ME
Search…
en-US
Powered By GitBook
How to install wiki.js via Kubuernetes in macOS
Create wikijs.yml with below content
1
apiVersion:v1
2
kind:Pod
3
metadata:
4
name:wikijs
5
labels:
6
env:dev
7
spec:
8
containers:
9
-name:wikijs
10
image:requarks/wiki:beta
11
ports:
12
-containerPort:3000
13
env:
14
-name:DB_TYPE
15
value:"sqlite"
16
-name:DB_FILEPATH
17
value:"/tmp/wiki.db"
Copied!
And then run
1
kubectl apply -f ./wikijs.yml
Copied!
By default, you’re allow to access Pod from host network. You will have to expose Pod to host. To do that, you need port forwarding. Run
1
kubectl port-forward wikijs 3000:3000
Copied!
Last modified 1yr ago
Copy link