From d9d048a8665a7211d9bffe8712bd09f5c08e31c8 Mon Sep 17 00:00:00 2001 From: Jacques ROUSSEL Date: Tue, 24 Dec 2024 11:37:47 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D(self-hosted)=20add=20documentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a documentation to deploy a self-hosted visio instance in a standalone way (witout AI features) --- .github/workflows/release-helm-chart.yaml | 4 +- bin/start-kind.sh | 102 +- docs/examples/impress.values.yaml | 156 ++ docs/examples/keycloak.values.yaml | 2299 +++++++++++++++++++++ docs/examples/minio.values.yaml | 8 + docs/examples/postgresql.values.yaml | 7 + docs/examples/redis.values.yaml | 4 + docs/installation.md | 231 +++ 8 files changed, 2709 insertions(+), 102 deletions(-) create mode 100644 docs/examples/impress.values.yaml create mode 100644 docs/examples/keycloak.values.yaml create mode 100644 docs/examples/minio.values.yaml create mode 100644 docs/examples/postgresql.values.yaml create mode 100644 docs/examples/redis.values.yaml create mode 100644 docs/installation.md diff --git a/.github/workflows/release-helm-chart.yaml b/.github/workflows/release-helm-chart.yaml index 1e701e41..729d146d 100644 --- a/.github/workflows/release-helm-chart.yaml +++ b/.github/workflows/release-helm-chart.yaml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -31,5 +31,7 @@ jobs: uses: helm/chart-releaser-action@v1.6.0 with: charts_dir: ./src/helm + skip_existing: True + mark_as_latest: False env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/bin/start-kind.sh b/bin/start-kind.sh index 59eba562..c8f0a51e 100755 --- a/bin/start-kind.sh +++ b/bin/start-kind.sh @@ -1,103 +1,3 @@ #!/bin/sh -set -o errexit -CURRENT_DIR=$(pwd) - -echo "0. Create ca" -# 0. Create ca -mkcert -install -cd /tmp -mkcert "127.0.0.1.nip.io" "*.127.0.0.1.nip.io" -cd $CURRENT_DIR - -echo "1. Create registry container unless it already exists" -# 1. Create registry container unless it already exists -reg_name='kind-registry' -reg_port='5001' -if [ "$(docker inspect -f '{{.State.Running}}' "${reg_name}" 2>/dev/null || true)" != 'true' ]; then - docker run \ - -d --restart=unless-stopped -p "127.0.0.1:${reg_port}:5000" --network bridge --name "${reg_name}" \ - registry:2 -fi - -echo "2. Create kind cluster with containerd registry config dir enabled" -# 2. Create kind cluster with containerd registry config dir enabled -# TODO: kind will eventually enable this by default and this patch will -# be unnecessary. -# -# See: -# https://github.com/kubernetes-sigs/kind/issues/2875 -# https://github.com/containerd/containerd/blob/main/docs/cri/config.md#registry-configuration -# See: https://github.com/containerd/containerd/blob/main/docs/hosts.md -cat < impress.127.0.0.1.nip.io localhost 80, 443 114s +impress-docs-admin impress.127.0.0.1.nip.io localhost 80, 443 114s +impress-docs-collaboration-api impress.127.0.0.1.nip.io localhost 80, 443 114s +impress-docs-media impress.127.0.0.1.nip.io localhost 80, 443 114s +impress-docs-ws impress.127.0.0.1.nip.io localhost 80, 443 114s +keycloak keycloak.127.0.0.1.nip.io localhost 80 49m +``` + +You can use impress on https://impress.127.0.0.1.nip.io. The provisionning user in keycloak is impress/impress. +