Skip to content

ProofSakshya/infrastructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Sakshya Protocol - Infrastructure

This directory contains the infrastructure-as-code and orchestration configurations for the Sakshya Protocol. It supports both local development and cloud-based deployment.

🏗️ Components

  • Docker: Local orchestration for services (gateway-tee, engine-fhe).
  • Terraform: Provisioning cloud infrastructure (AWS Nitro Enclaves).

🔗 Repositories


🐳 Local Development (Docker)

Quickly spin up the Sakshya stack using Docker Compose.

Important

This setup expects the engine-fhe and gateway-tee repositories to be cloned in the same parent directory as the infrastructure directory.

Prerequisites

Usage

From the infrastructure/docker directory:

# Build and start services
docker-compose up --build

# Run in background
docker-compose up -d

Services:

  • gateway-tee: Accessible at http://localhost:8080.
  • engine-fhe: Backend computation engine.

☁️ Cloud Deployment (Terraform)

Infrastructure for running Sakshya in the cloud with TEE support.

Prerequisites

  • Terraform
  • AWS CLI configured with appropriate credentials.

Configuration

The current setup provisions an AWS Nitro Enclaves-ready EC2 instance.

Usage

From the infrastructure/terraform directory:

# Initialize Terraform
terraform init

# Preview changes
terraform plan

# Apply changes
terraform apply

🛠️ Maintenance

Docker Clean Up

docker-compose down --volumes

Terraform Destroy

terraform destroy

About

This directory contains the infrastructure-as-code and orchestration configurations for the Sakshya Protocol. It supports both local development and cloud-based deployment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages