From cb3e5c676ac83e98161c7d824131fbd8e8add6da Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Tue, 12 Apr 2022 15:09:52 -0400 Subject: [PATCH] Updated Chromium Install (markdown) --- Chromium-Install.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Chromium-Install.md b/Chromium-Install.md index a0c7760..5bf87ce 100644 --- a/Chromium-Install.md +++ b/Chromium-Install.md @@ -68,7 +68,7 @@ You can download old versions of Chrome in order to match it from https://chromi 1. Install desired chromium version in new directory inside your data folder `./data/chromium` on the host (outside Docker) 2. Run [`vncserver`](https://linux.die.net/man/1/vncserver) as `archivebox` user and run chromium in VNC session to generate cookies, then close VNC session -3. Add the config to `docker-compose.yml` for the chromium data dir and binary mount and config +3. Add the config to `docker-compose.yml` to mount the `./data/chromium` volume and environemnt variables telling ArchiveBox to it `docker-compose.yml`: ```yaml services: @@ -86,9 +86,12 @@ services: ``` 4. Set the permissions on the chromium dir - `chmod -R ugo+rwx ./data/chromium/.config/chromium` - `chown -R archivebox:archivebox /data/chromium/` - (may need to be done inside Docker with `docker-compose run --rm archivebox `) + ```bash +docker-compose run --rm archivebox /bin/bash +# then inside of docker run these: +chown -R archivebox:archivebox /data/chromium/ +chmod -R ugo+rwx ./data/chromium/.config/chromium +``` Now profile is now generated and used by same instance of chrome on docker host and container.