Skip to content

Commit

Permalink
Fixed scripts on unix
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyaoleshko committed Oct 2, 2023
1 parent c0ccfb0 commit 6bb5f6a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.backend.docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ else
fi

echo "Clear publish folder"
rm -rf $dir/publish
rm -rf $dir/publish/services

echo "Build backend services (to "publish/" folder)"
bash $dir/build/install/common/build-services.sh -pb backend-publish -pc Debug -de "$dockerDir/docker-entrypoint.py"
Expand Down Expand Up @@ -107,6 +107,6 @@ SERVICE_CLIENT=$client \
ROOT_DIR=$dir \
BUILD_PATH="/var/www" \
SRC_PATH="$dir/publish/services" \
DATA_DIR="$dir/Data" \
DATA_DIR="$dir/data" \
APP_URL_PORTAL=$portal_url \
docker-compose -f $dockerDir/docspace.profiles.yml -f $dockerDir/docspace.overcome.yml --profile migration-runner --profile backend-local up -d
2 changes: 1 addition & 1 deletion clear.backend.docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ then
BUILD_PATH="/var/www" \
SRC_PATH="${RootDir}/publish/services" \
ROOT_DIR=$RootDir \
DATA_DIR="${RootDir}/Data" \
DATA_DIR="${RootDir}/data" \
docker-compose -f "${DockerDir}/docspace.profiles.yml" -f "${DockerDir}/docspace.overcome.yml" --profile migration-runner --profile backend-local down --volumes

echo "Remove docker contatiners 'mysql'"
Expand Down
2 changes: 1 addition & 1 deletion start/start.backend.docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ SERVICE_DOCEDITOR=$doceditor \
SERVICE_LOGIN=$login \
SERVICE_CLIENT=$client \
ROOT_DIR=$dir \
DATA_DIR="$dir/Data" \
DATA_DIR="$dir/data" \
ENV_EXTENSION="dev" \
DOCUMENT_SERVER_IMAGE_NAME=onlyoffice/documentserver-de:latest \
docker-compose -f docspace.profiles.yml -f docspace.overcome.yml --profile backend-local start

0 comments on commit 6bb5f6a

Please sign in to comment.