diff --git a/install-paperless-ngx.sh b/install-paperless-ngx.sh index bbdc6025f..e34415d18 100755 --- a/install-paperless-ngx.sh +++ b/install-paperless-ngx.sh @@ -346,7 +346,7 @@ read -r -a OCR_LANGUAGES_ARRAY <<< "${_split_langs}" fi } > docker-compose.env -sed -i "s/- 8000:8000/- $PORT:8000/g" docker-compose.yml +sed -i "s/- 8000:8000/- \"$PORT:8000\"/g" docker-compose.yml sed -i "s#- \./consume:/usr/src/paperless/consume#- $CONSUME_FOLDER:/usr/src/paperless/consume#g" docker-compose.yml