Atualizar install.sh

This commit is contained in:
wallaceosmar 2024-11-23 18:45:08 +00:00
parent 006a6819e2
commit 49dadeccf7

View File

@ -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