this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor: update build and health check for homelab docs

+11 -4
+11 -4
apps/homelab-docs.yaml
··· 24 24 - name: nginx 25 25 image: nginx:latest 26 26 volumeMounts: 27 - - mountPath: /usr/share/nginx/html 28 - name: static 27 + - name: static 28 + mountPath: /usr/share/nginx/html 29 29 - name: build 30 30 image: alpine:latest 31 31 workingDir: /usr/local/src ··· 34 34 - -c 35 35 args: 36 36 - | 37 - apk add font-noto font-noto-emoji git graphviz make python3 37 + apk add git make cargo 38 38 apk add --repository "http://dl-cdn.alpinelinux.org/alpine/edge/testing" mdbook 39 + cargo install --root /usr/local mdbook-mermaid 39 40 git clone https://github.com/khuedoan/homelab . 40 41 cd docs 41 42 while true; do 42 - make diagrams 43 + mdbook-mermaid install . 43 44 mdbook build . --dest-dir /usr/share/nginx/html 44 45 sleep 120 45 46 git fetch origin 46 47 git reset --hard origin/master 47 48 done 49 + readinessProbe: 50 + httpGet: 51 + path: / 52 + port: 80 53 + initialDelaySeconds: 3 54 + periodSeconds: 3 48 55 volumeMounts: 49 56 - mountPath: /usr/local/src 50 57 name: source