mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-22 14:13:01 +02:00
Updated Chromium Install (markdown)
@@ -69,8 +69,8 @@ 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` for the chromium data dir and binary mount and config
|
||||||
`docker-compose.yml`:
|
`docker-compose.yml`:
|
||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
archivebox:
|
archivebox:
|
||||||
...
|
...
|
||||||
@@ -84,9 +84,10 @@ services:
|
|||||||
...
|
...
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
4. Set the permissions on the chromium dir (may need to be done inside Docker with `docker-compose run --rm archivebox <command>`)
|
4. Set the permissions on the chromium dir
|
||||||
`chmod -R ugo+rwx ./data/chromium/.config/chromium`
|
`chmod -R ugo+rwx ./data/chromium/.config/chromium`
|
||||||
`chown -R archivebox:archivebox /data/chromium/`
|
`chown -R archivebox:archivebox /data/chromium/`
|
||||||
|
(may need to be done inside Docker with `docker-compose run --rm archivebox <command>`)
|
||||||
|
|
||||||
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