Hypha Backend
Local Deployment
- From project root directory, run
docker compose -f local-compose.yml up --build
- View Grafana on
localhost
port3000
AWS ECS Deployment
Prerequisites
-
Install AWS CLI latest version
-
Configure AWS credentials
-
Setup Docker ECS Integration
MacOS or Windows
- Install latest version of Docker Desktop
Linux
- Make sure you have Docker 19.03 or later, then also install the Docker Compose CLI:
curl -L https://raw.githubusercontent.com/docker/compose-cli/main/scripts/install/install_linux.sh | sh
-
Create a new Docker ECS context with
docker context create ecs <context-name>
Deploy
- Switch to your ECS context with
docker context use <context-name>
- From the project root directory, run
docker compose up
- Once deployment processes complete, run
sh get-endpoints.sh
to createendpoints.txt
file containing the gateway and dashboard endpoints
Teardown
- From the project root directory, run
docker compose down
to tear down the ECS deployment - To return to local deployment, switch context with
docker context use default