mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-05-02 09:12:37 +00:00
Private searxng instance
This commit is contained in:
@ -80,3 +80,13 @@ deploy:
|
|||||||
.PHONY: teardown
|
.PHONY: teardown
|
||||||
teardown:
|
teardown:
|
||||||
terraform destroy
|
terraform destroy
|
||||||
|
|
||||||
|
|
||||||
|
.PHONY: auth-kubectl
|
||||||
|
auth-kubectl:
|
||||||
|
gcloud container clusters get-credentials $(CLUSTER_NAME) --region=$(GCP_REGION)
|
||||||
|
|
||||||
|
|
||||||
|
.PHONY: rollout-new-version-backend
|
||||||
|
rollout-new-version-backend: auth-kubectl
|
||||||
|
kubectl rollout restart deploy backend
|
||||||
|
@ -87,7 +87,7 @@ resource "kubernetes_service" "searxng_service" {
|
|||||||
target_port = var.search_port
|
target_port = var.search_port
|
||||||
}
|
}
|
||||||
|
|
||||||
type = "LoadBalancer"
|
type = "ClusterIP"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user