First pass at setting up GCP deploy config as infrastructure

- Terraform config files to setup cluster, deployments and services
  - Adds only Searxng deployment and test service in this commit

- Makefile to:
  - Build and push images
  - Run terraform with correct project configuration

- Env file template to help setting .env file with project configs
This commit is contained in:
Hristo 2024-05-08 18:19:59 -04:00
parent d9ba36794a
commit 0fedaef537
5 changed files with 286 additions and 0 deletions

7
deploy/gcp/sample.env Normal file
View file

@ -0,0 +1,7 @@
# Rename this file to .env
# 0: Update to your GCP project id
# 1: Update to the path where the GCP service account credential file is kept
# 2: Update the region to your desired GCP region
GCP_PROJECT_ID=name-of-your-gcp-project
GCP_SERVICE_ACCOUNT_KEY_FILE=/Path/to/your/gcp-service-account-key-file.json
GCP_REGION=us-east1