Final project commit: MTGJSON data integration and backend API

This commit is contained in:
wall-o
2026-07-20 01:09:45 +00:00
parent b170dfd577
commit db01e29a54
37 changed files with 9674 additions and 198 deletions
+28
View File
@@ -0,0 +1,28 @@
#!/bin/bash
# Stop and destroy all Docker containers for mtgonline project
echo "Stopping and destroying all containers..."
docker compose down -v --remove-orphans
# Build the backend container
echo "Building backend container..."
docker compose build backend
# Bring up the stack
echo "Bringing up the stack..."
docker compose up -d
# Wait for containers to start
echo "Waiting for containers to start..."
sleep 10
# Check container status
echo "Container status:"
docker compose ps
# Check logs for health
echo "Backend logs:"
docker compose logs backend --tail=20
# Check database logs
echo "Postgres logs:"
docker compose logs postgres postgres-mtgdata --tail=10