initial deployment

This commit is contained in:
2024-03-31 14:00:53 -05:00
commit 6918c077fd
7 changed files with 450 additions and 0 deletions

13
host/pull-deploy-api.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
# Login
aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 891377299307.dkr.ecr.us-east-1.amazonaws.com
# Stop current running
docker stop interview-buddy-api
# Pull latest
docker compose pull
# Start newest
docker compose -f docker-compose-api.yaml up -d