From 8c54585f2d7adf759a6f1a5dd6bea1ec2f54a8f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Sun, 20 Nov 2022 14:50:13 +0100 Subject: [PATCH] add persistent data to docs #223. --- docs/getting-started/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/getting-started/README.md b/docs/getting-started/README.md index a4fe8ae..5d47b75 100644 --- a/docs/getting-started/README.md +++ b/docs/getting-started/README.md @@ -92,6 +92,12 @@ services: - For Chromium, copy [this](https://github.com/m1k1o/neko/blob/master/.docker/chromium/policies.json) file, modify and mount it as: ` -v '${PWD}/policies.json:/etc/chromium/policies/managed/policies.json'` - For others, see where existing `policies.json` is placed in their `Dockerfile`. +### Want to preserve browser data between restarts? +- You need to mount browser profile as volume. +- For Firefox, that is this `/home/neko/.mozilla/firefox/profile.default` folder, mount it as: ` -v '${PWD}/data:/home/neko/.mozilla/firefox/profile.default'` +- For Chromium, that is this `/home/neko/.config/chromium` folder, mount it as: ` -v '${PWD}/data:/home/neko/.config/chromium'` +- For other chromium based browsers, see in `supervisord.conf` folder that is specified in `--user-data-dir`. + ### Want to use VPN for your n.eko browsing? - Check this out: https://github.com/m1k1o/neko-vpn