1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-26 07:44:41 +02:00

Updated Chromium Install (markdown)

Nick Sweeting
2024-03-18 13:03:38 -07:00
parent be5cd0ea9f
commit 93ad04a214

@@ -116,11 +116,11 @@ 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 --no-sandbox
docker compose run archivebox /usr/bin/chromium-browser --user-data-dir=/home/archivebox/chrome_profile --no-sandbox --start-maximized --suppress-message-center-popups
```
<small>(make sure the `DISPLAY` environment variable is set above so it renders Chrome in `nonvc`'s X-window server)</small>
4. Open [`http://localhost:8080`](http://localhost:8080) in your browser. You should see a remote linux desktop shown with Chrome open, allowing you to remote-control ArchiveBox's browser and use it to log into any sites where you want to save credentials.
4. Open [`http://localhost:8080/vnc.html`](http://localhost:8080/vnc.html) in your browser. You should see a remote linux desktop shown with Chrome open, allowing you to remote-control ArchiveBox's browser and use it to log into any sites where you want to save credentials.
5. ✅ Close the browser, stop & remove novnc, and then run archivebox normally. It will use the profile stored in `CHROME_USER_DATA_DIR=/home/archivebox/chrome_profile` going forward, you should now be able to archive sites as if you were logged in!