From a50d30a6bed9e62a071884db2bd615233048f734 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Mon, 18 Mar 2024 13:23:03 -0700 Subject: [PATCH] Updated Chromium Install (markdown) --- Chromium-Install.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Chromium-Install.md b/Chromium-Install.md index 041289e..aed355b 100644 --- a/Chromium-Install.md +++ b/Chromium-Install.md @@ -94,6 +94,9 @@ If using ArchiveBox in Docker, the easiest way to set up session credentials is services: archivebox: ... + volumes: + ... + - ./chrome_profile:/home/archivebox/chrome_profile environment: - CHROME_USER_DATA_DIR=/home/archivebox/chrome_profile - DISPLAY=novnc:0.0 @@ -116,7 +119,7 @@ docker compose up -d novnc 3. Start ArchiveBox's Chrome inside Docker ```bash -docker compose run archivebox /usr/bin/chromium-browser --user-data-dir=/home/archivebox/chrome_profile --start-maximized --suppress-message-center-popups +docker compose run archivebox /usr/bin/chromium-browser --user-data-dir=/home/archivebox/chrome_profile --disable-gpu --disable-features=dbus --disable-dev-shm-usage --start-maximized ``` (make sure the `DISPLAY` environment variable is set above so it renders Chrome in `nonvc`'s X-window server)