[PR #4397] [MERGED] Allow user to specify args for chromium process so they dont need SYS_ADMIN on container. #4608

Closed
opened 2026-02-22 18:36:10 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/4397
Author: @timothycarambat
Created: 9/17/2025
Status: Merged
Merged: 9/17/2025
Merged by: @timothycarambat

Base: masterHead: 3999-chromium-flags


📝 Commits (3)

  • adc2a5f allow user to specify args for chromium process so they dont need SYS_ADMIN perms
  • 9ea15f0 use arg flag content
  • e1215d6 update console outputs

📊 Changes

7 files changed (+29 additions, -2 deletions)

View changed files

📝 .github/workflows/dev-build.yaml (+1 -1)
📝 collector/processLink/convert/generic.js (+3 -0)
📝 collector/utils/runtimeSettings/index.js (+10 -0)
📝 docker/.env.example (+6 -1)
📝 server/.env.example (+5 -0)
📝 server/utils/collectorApi/index.js (+1 -0)
📝 server/utils/helpers/updateENV.js (+3 -0)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #3999

What is in this change?

  • Adds support for configurable ANYTHINGLLM_CHROMIUM_ARGS in ENV to allow the user to pass flags directly to the Puppeteer browser process that runs in a container.

This should allow the user to no longer need the SYS_ADMIN flag if they want to omit that and use args like --no-sandbox and --disable-setuid-sandbox

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/4397 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 9/17/2025 **Status:** ✅ Merged **Merged:** 9/17/2025 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `3999-chromium-flags` --- ### 📝 Commits (3) - [`adc2a5f`](https://github.com/Mintplex-Labs/anything-llm/commit/adc2a5f3d33896b0043d108d6f40f23d99dd7454) allow user to specify args for chromium process so they dont need SYS_ADMIN perms - [`9ea15f0`](https://github.com/Mintplex-Labs/anything-llm/commit/9ea15f0a96688d6bc06166a8c03fd2616fee0a7d) use arg flag content - [`e1215d6`](https://github.com/Mintplex-Labs/anything-llm/commit/e1215d6c202aa268c1362a63eaab6a734c2b549e) update console outputs ### 📊 Changes **7 files changed** (+29 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/dev-build.yaml` (+1 -1) 📝 `collector/processLink/convert/generic.js` (+3 -0) 📝 `collector/utils/runtimeSettings/index.js` (+10 -0) 📝 `docker/.env.example` (+6 -1) 📝 `server/.env.example` (+5 -0) 📝 `server/utils/collectorApi/index.js` (+1 -0) 📝 `server/utils/helpers/updateENV.js` (+3 -0) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #3999 ### What is in this change? - Adds support for configurable `ANYTHINGLLM_CHROMIUM_ARGS` in ENV to allow the user to pass flags directly to the Puppeteer browser process that runs in a container. This should allow the user to no longer need the `SYS_ADMIN` flag _if they want to omit that and use args_ like `--no-sandbox` and `--disable-setuid-sandbox` <!-- Describe the changes in this PR that are impactful to the repo. --> ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:36:10 -05:00
yindo closed this issue 2026-02-22 18:36:10 -05:00
yindo changed title from [PR #4397] Allow user to specify args for chromium process so they dont need SYS_ADMIN on container. to [PR #4397] [MERGED] Allow user to specify args for chromium process so they dont need SYS_ADMIN on container. 2026-06-05 15:19:26 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#4608