Skip to content

Commit

Permalink
doc: add SQLite file path permissions entry (#390)
Browse files Browse the repository at this point in the history
* doc sqlite path permissions

* update sqlite notes
  • Loading branch information
Gabriel-Ladzaretti authored Nov 27, 2023
1 parent acccbae commit c18f79f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/configure-renovate-ce-github.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:
Expand Down
3 changes: 3 additions & 0 deletions docs/configure-renovate-ce-gitlab.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:
Expand Down
3 changes: 3 additions & 0 deletions docs/configure-renovate-ee-github.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:
Expand Down
3 changes: 3 additions & 0 deletions docs/configure-renovate-ee-gitlab.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:
Expand Down

0 comments on commit c18f79f

Please sign in to comment.