update for docker compose typo for redis image

This commit is contained in:
timqiu 2025-03-07 10:32:01 +08:00
parent e3b7f602bc
commit 3b0be08c55
2 changed files with 5 additions and 6 deletions

View File

@ -895,12 +895,12 @@ devbox_init_command() {
popd > /dev/null
fi
else
if [[ ! $USE_CUSTOM_REPOSITORY =~ ^(https:\/\/|git@|git:\/\/|file:\/\/\/)[^ ]+\.git$ ]]; then
if ! echo "$USE_CUSTOM_REPOSITORY" | grep -Eq '^(https:\/\/|git@|git:\/\/|file:\/\/\/)[^ ]+\.git$'; then
echo "ERROR: Invalid custom repository URL. Please provide a valid URL."
echo "==> [INIT] DevBox environment initialization completed successfully, but access to the custom repository failed."
exit 1
fi
# Test if the user can access the custom repository
echo "==> Testing access to custom repository..."
if ! git ls-remote "$USE_CUSTOM_REPOSITORY" &>/dev/null; then
@ -1093,7 +1093,6 @@ echo "$USE_LOCAL_COMPONENT" > "$WORKING_HOME/.use-local-component"
pushd $WORKING_HOME
IS_START_FRONTEND=false
# Make a user input (Y/N) to continue pull freeleaps.com code and start if N then exit

View File

@ -64,7 +64,7 @@ services:
redis:
platform: linux/${ARCH:-arm64}
container_name: freeleaps2-redis
image: rabbitmq:latest
image: redis:latest
restart: always
ports:
- 6379:6379