Files
OSIT-AE-Docker-Env/Makefile

35 lines
852 B
Makefile

# Aether Platform - Operations Makefile
# Use these shortcuts for faster development and deployment.
.PHONY: up down restart-api build-api build-ui logs ps
# Start the entire stack
up:
docker compose up -d
# Stop the entire stack
down:
docker compose down
# FAST UPDATE: Pick up Python code changes without rebuilding
# Since source is mounted as a volume, we just need to restart the container.
# This takes ~2 seconds instead of ~60 seconds.
restart-api:
docker compose restart ae_api
# REBUILD API: Use this only when requirements.txt or Dockerfile changes.
build-api:
docker compose up -d --build ae_api
# REBUILD UI: Standard autonomous build for SvelteKit
build-ui:
docker compose build ae_app && docker compose up -d ae_app
# View combined logs
logs:
docker compose logs -f --tail=100
# Check service status
ps:
docker compose ps