From c18f79ffd7be23b4fb5f0ca73309f32c2f75a378 Mon Sep 17 00:00:00 2001 From: Gabriel-Ladzaretti <97394622+Gabriel-Ladzaretti@users.noreply.github.com> Date: Mon, 27 Nov 2023 16:13:40 +0200 Subject: [PATCH] doc: add SQLite file path permissions entry (#390) * doc sqlite path permissions * update sqlite notes --- docs/configure-renovate-ce-github.md | 3 +++ docs/configure-renovate-ce-gitlab.md | 3 +++ docs/configure-renovate-ee-github.md | 3 +++ docs/configure-renovate-ee-gitlab.md | 3 +++ 4 files changed, 12 insertions(+) diff --git a/docs/configure-renovate-ce-github.md b/docs/configure-renovate-ce-github.md index 234a0f25..d8a95503 100644 --- a/docs/configure-renovate-ce-github.md +++ b/docs/configure-renovate-ce-github.md @@ -75,6 +75,9 @@ Mend Renovate requires configuration via environment variables in addition to Re **`MEND_RNV_SQLITE_FILE_PATH`**: Optional: Provide a path to persist the database. (eg. '/db/renovate-ce.sqlite', where 'db' is defined as a volume) +> [!IMPORTANT] +> The container running the Renovate CE service requires read, write, and execute (rwx) permissions for the parent folder of the SQLite file. Additionally, the process inside the container executes with uid=1000 (ubuntu) and gid=0 (root). + The [sqlite3](https://sqlite.org/cli.html) CLI tool is preinstalled in the Renovate CE/EE(server) images, allowing direct interaction with the underlying SQLite database. For example, Let `MEND_RNV_SQLITE_FILE_PATH=/db/renovate-ce.sqlite`: diff --git a/docs/configure-renovate-ce-gitlab.md b/docs/configure-renovate-ce-gitlab.md index c8ff0339..47c761f8 100644 --- a/docs/configure-renovate-ce-gitlab.md +++ b/docs/configure-renovate-ce-gitlab.md @@ -78,6 +78,9 @@ Mend Renovate requires configuration via environment variables in addition to Re **`MEND_RNV_SQLITE_FILE_PATH`**: Optional: Provide a path to persist the database. (eg. '/db/renovate-ce.sqlite', where 'db' is defined as a volume) +> [!IMPORTANT] +> The container running the Renovate CE service requires read, write, and execute (rwx) permissions for the parent folder of the SQLite file. Additionally, the process inside the container executes with uid=1000 (ubuntu) and gid=0 (root). + The [sqlite3](https://sqlite.org/cli.html) CLI tool is preinstalled in the Renovate CE/EE(server) images, allowing direct interaction with the underlying SQLite database. For example, Let `MEND_RNV_SQLITE_FILE_PATH=/db/renovate-ce.sqlite`: diff --git a/docs/configure-renovate-ee-github.md b/docs/configure-renovate-ee-github.md index 3674b526..e2950286 100644 --- a/docs/configure-renovate-ee-github.md +++ b/docs/configure-renovate-ee-github.md @@ -76,6 +76,9 @@ See below for a list of environment variables that relate to each. **`MEND_RNV_SQLITE_FILE_PATH`**: Optional: Provide a path to persist the database. (eg. '/db/renovate-ce.sqlite', where 'db' is defined as a volume) +> [!IMPORTANT] +> The container running the Renovate EE server service requires read, write, and execute (rwx) permissions for the parent folder of the SQLite file. Additionally, the process inside the container executes with uid=1000 (node) and gid=1000 (node). + The [sqlite3](https://sqlite.org/cli.html) CLI tool is preinstalled in the Renovate CE/EE(server) images, allowing direct interaction with the underlying SQLite database. For example, Let `MEND_RNV_SQLITE_FILE_PATH=/db/renovate-ce.sqlite`: diff --git a/docs/configure-renovate-ee-gitlab.md b/docs/configure-renovate-ee-gitlab.md index 1b55d55e..0a115ccb 100644 --- a/docs/configure-renovate-ee-gitlab.md +++ b/docs/configure-renovate-ee-gitlab.md @@ -79,6 +79,9 @@ See below for a list of environment variables that relate to each. **`MEND_RNV_SQLITE_FILE_PATH`**: Optional: Provide a path to persist the database. (eg. '/db/renovate-ce.sqlite', where 'db' is defined as a volume) +> [!IMPORTANT] +> The container running the Renovate EE server service requires read, write, and execute (rwx) permissions for the parent folder of the SQLite file. Additionally, the process inside the container executes with uid=1000 (node) and gid=1000 (node). + The [sqlite3](https://sqlite.org/cli.html) CLI tool is preinstalled in the Renovate CE/EE(server) images, allowing direct interaction with the underlying SQLite database. For example, Let `MEND_RNV_SQLITE_FILE_PATH=/db/renovate-ce.sqlite`: