Atualizar install.sh
This commit is contained in:
parent
006a6819e2
commit
49dadeccf7
@ -128,7 +128,7 @@ install_application() {
|
|||||||
curl -o docker-compose.yml $DOCKER_COMPOSE_URL
|
curl -o docker-compose.yml $DOCKER_COMPOSE_URL
|
||||||
echo "docker-compose.yml downloaded successfully."
|
echo "docker-compose.yml downloaded successfully."
|
||||||
echo "Running Docker Compose with the environment variables..."
|
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
|
elif command_exists kubectl || command_exists k3s; then
|
||||||
echo "K3s or Kubernetes detected. Proceeding with Kubernetes setup..."
|
echo "K3s or Kubernetes detected. Proceeding with Kubernetes setup..."
|
||||||
curl -o kubernetes-deploy.yaml $KUBERNETES_DEPLOY_URL
|
curl -o kubernetes-deploy.yaml $KUBERNETES_DEPLOY_URL
|
||||||
@ -144,7 +144,7 @@ install_application() {
|
|||||||
curl -o docker-compose.yml $DOCKER_COMPOSE_URL
|
curl -o docker-compose.yml $DOCKER_COMPOSE_URL
|
||||||
echo "docker-compose.yml downloaded successfully."
|
echo "docker-compose.yml downloaded successfully."
|
||||||
echo "Running Docker Compose with the environment variables..."
|
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)
|
k3s)
|
||||||
install_k3s
|
install_k3s
|
||||||
|
Loading…
x
Reference in New Issue
Block a user