From cea12a1a355b07140d50b6b9edee308768e98350 Mon Sep 17 00:00:00 2001 From: BhasherBEL Date: Tue, 26 Dec 2023 00:11:41 +0100 Subject: [PATCH] mdbook as wiki --- bxl-shp/apps/docker-compose.wiki.yaml | 18 ++++++++++++++++++ bxl-shp/config/wiki/README.md | 1 + bxl-shp/config/wiki/SUMMARY.md | 9 +++++++++ bxl-shp/config/wiki/user-guide/vaultwarden.md | 0 4 files changed, 28 insertions(+) create mode 100644 bxl-shp/apps/docker-compose.wiki.yaml create mode 100644 bxl-shp/config/wiki/README.md create mode 100644 bxl-shp/config/wiki/SUMMARY.md create mode 100644 bxl-shp/config/wiki/user-guide/vaultwarden.md diff --git a/bxl-shp/apps/docker-compose.wiki.yaml b/bxl-shp/apps/docker-compose.wiki.yaml new file mode 100644 index 0000000..41cb7a8 --- /dev/null +++ b/bxl-shp/apps/docker-compose.wiki.yaml @@ -0,0 +1,18 @@ +services: + mdbook: + container_name: mdbook + image: thefarwind/mdbook + restart: unless-stopped + entrypoint: mdbook serve --hostname 0.0.0.0 + labels: + - "traefik.enable=true" + - "traefik.http.routers.mdbook.rule=Host(`wiki.bhasher.com`)" + - "traefik.http.routers.mdbook.entrypoints=internalsecure" + - "traefik.http.services.mdbook.loadbalancer.server.port=3000" + - "traefik.http.routers.mdbook.tls=true" + - "traefik.http.routers.mdbook.tls.certresolver=http" + volumes: + - $CONFIG/wiki:/src + networks: + - external + diff --git a/bxl-shp/config/wiki/README.md b/bxl-shp/config/wiki/README.md new file mode 100644 index 0000000..e10b99d --- /dev/null +++ b/bxl-shp/config/wiki/README.md @@ -0,0 +1 @@ +# Introduction diff --git a/bxl-shp/config/wiki/SUMMARY.md b/bxl-shp/config/wiki/SUMMARY.md new file mode 100644 index 0000000..8e70570 --- /dev/null +++ b/bxl-shp/config/wiki/SUMMARY.md @@ -0,0 +1,9 @@ +# Summary + +[Introduction](README.md) + +# User Guide + +- [Vaultwarden](user-guide/vaultwarden.md) + + diff --git a/bxl-shp/config/wiki/user-guide/vaultwarden.md b/bxl-shp/config/wiki/user-guide/vaultwarden.md new file mode 100644 index 0000000..e69de29