mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-21 05:41:54 +02:00
Updated Chromium Install (markdown)
@@ -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)
|
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
|
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`:
|
`docker-compose.yml`:
|
||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
@@ -86,9 +86,12 @@ services:
|
|||||||
```
|
```
|
||||||
|
|
||||||
4. Set the permissions on the chromium dir
|
4. Set the permissions on the chromium dir
|
||||||
`chmod -R ugo+rwx ./data/chromium/.config/chromium`
|
```bash
|
||||||
`chown -R archivebox:archivebox /data/chromium/`
|
docker-compose run --rm archivebox /bin/bash
|
||||||
(may need to be done inside Docker with `docker-compose run --rm archivebox <command>`)
|
# 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.
|
Now profile is now generated and used by same instance of chrome on docker host and container.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user