forked from freeleaps/freeleaps-pub
update for docker compose typo for redis image
This commit is contained in:
parent
e3b7f602bc
commit
3b0be08c55
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user