From 90e58f26122bd46e12b26db798e4d1ce7eb5e16b Mon Sep 17 00:00:00 2001 From: bunkerity Date: Thu, 7 Jul 2022 12:10:00 +0200 Subject: [PATCH] fix ui.env path for Linux integration and add docs for autoconf with rootless docker --- docs/integrations.md | 3 +++ linux/scripts/bunkerweb-ui.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/integrations.md b/docs/integrations.md index c1737fbfb..dd059de87 100644 --- a/docs/integrations.md +++ b/docs/integrations.md @@ -223,6 +223,9 @@ docker run \ docker network connect bw-services mybunker ``` +!!! info "Using Docker in rootless mode" + If you are using [Docker in rootless mode](https://docs.docker.com/engine/security/rootless), you will need to replace the mount with the following value : `$XDG_RUNTIME_DIR/docker.sock:/var/run/docker.sock:ro`. + And the autoconf one : ```shell diff --git a/linux/scripts/bunkerweb-ui.sh b/linux/scripts/bunkerweb-ui.sh index b3e487945..26a4866f4 100755 --- a/linux/scripts/bunkerweb-ui.sh +++ b/linux/scripts/bunkerweb-ui.sh @@ -5,7 +5,7 @@ start_ui() { export PYTHONPATH=/opt/bunkerweb/deps/python/ echo "Starting UI" set -a - . /opt/bunkerweb/bunkerweb-ui.env + . /opt/bunkerweb/ui.env set +a export FLASK_APP=/opt/bunkerweb/ui/main.py python3 -m flask run --host=127.0.0.1 --port=7000