fix ui.env path for Linux integration and add docs for autoconf with rootless docker

This commit is contained in:
bunkerity 2022-07-07 12:10:00 +02:00
parent a00607af2e
commit 90e58f2612
No known key found for this signature in database
GPG Key ID: 3D80806F12602A7C
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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