From 49dadeccf7561605cc5d37a2127d04ca1b52658d Mon Sep 17 00:00:00 2001 From: wallaceosmar Date: Sat, 23 Nov 2024 18:45:08 +0000 Subject: [PATCH] Atualizar install.sh --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 093377e..965f601 100644 --- a/install.sh +++ b/install.sh @@ -128,7 +128,7 @@ install_application() { curl -o docker-compose.yml $DOCKER_COMPOSE_URL echo "docker-compose.yml downloaded successfully." echo "Running Docker Compose with the environment variables..." - docker-compose --env-file "$ENV_FILE" up -d + docker compose --env-file "$ENV_FILE" up -d elif command_exists kubectl || command_exists k3s; then echo "K3s or Kubernetes detected. Proceeding with Kubernetes setup..." curl -o kubernetes-deploy.yaml $KUBERNETES_DEPLOY_URL @@ -144,7 +144,7 @@ install_application() { curl -o docker-compose.yml $DOCKER_COMPOSE_URL echo "docker-compose.yml downloaded successfully." echo "Running Docker Compose with the environment variables..." - docker-compose --env-file "$ENV_FILE" up -d + docker compose --env-file "$ENV_FILE" up -d ;; k3s) install_k3s