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