Update for rename docker-compose file and cli path

This commit is contained in:
timqiu 2025-03-11 16:16:41 +08:00
parent 970065a2b5
commit a595dba3d3
3 changed files with 3 additions and 5 deletions

View File

@ -122,7 +122,7 @@ devbox_init_guidance() {
exit 1
fi
printf "Repository connection successful.\n"
printf "Repository connection successfully.\n"
add_arg "--use-custom-repository" "$use_custom_repository"
;;
@ -592,7 +592,6 @@ get_port() {
break
fi
done
echo "$port"
}
# Build the local image
@ -1103,7 +1102,7 @@ if [[ $USE_LOCAL_COMPONENT_VAL == true ]]; then
# Start Gitea, MongoDB, RabbitMQ and other components containers
echo "===> start Gitea, MongoDB, RabbitMQ and other components containers"
docker-compose -f docker-compose.dev.arm64.new.yaml up -d mongodb rabbitmq gitea redis "${start_components[@]}"
docker-compose -f docker-compose.yaml up -d mongodb rabbitmq gitea redis "${start_components[@]}"
gitea_container_id=$(docker ps --no-trunc -a --filter "name=^freeleaps2-gitea$" --format "{{.ID}}")
echo "$gitea_container_id" > "$WORKING_HOME/.gitea-instance"
@ -1145,7 +1144,7 @@ else
echo ' ===> Using online components for Freeleaps services.'
echo '============================================'
# Start Gitea, MongoDB, RabbitMQ containers
docker-compose -f docker-compose.dev.arm64.new.yaml up -d mongodb rabbitmq redis
docker-compose -f docker-compose.yaml up -d mongodb rabbitmq redis
# Save MongoDB and RabbitMQ container ids to .mongodb-instance and .rabbitmq-instance
mongo_container_id=$(docker ps -a --format '{{.Names}}' | grep "^freeleaps2-mongodb\$")
@ -2420,7 +2419,6 @@ parse_requirements() {
"")
devbox_init_guidance >&2
action="init"
shift
devbox_init_parse_requirements "$@"
shift $#
;;