Catalyst / admin/AirportCyberSimulator 14.8 GB / 57.8 GB 40.0 GB free
Help Sign in

admin / AirportCyberSimulator

public

Airport Cyber Attack Simulation Application

Code Issues Pull requests Pipelines Packages Security Insights Wiki Settings
AirportCyberSimulator / airport-cyber-sim-v2 / Makefile 679 B · main
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Airport Cyber Resilience Simulator V2 — docker compose wrapper.
COMPOSE ?= docker compose
SERVICE ?= airport-cyber-sim-v2
URL     ?= http://localhost:8000

.PHONY: up down logs rebuild restart ps status shell clean

up:
	$(COMPOSE) up --build -d
	@echo "Simulator V2 running at $(URL)"
down:
	$(COMPOSE) down
logs:
	$(COMPOSE) logs -f $(SERVICE)
rebuild:
	$(COMPOSE) build --no-cache
	$(COMPOSE) up -d
restart:
	$(COMPOSE) restart $(SERVICE)
ps:
	$(COMPOSE) ps
status:
	@docker inspect --format '{{.State.Health.Status}}' $(SERVICE) 2>/dev/null || echo "container not running"
shell:
	$(COMPOSE) exec $(SERVICE) /bin/bash
clean:
	$(COMPOSE) down --rmi local --remove-orphans