admin / AirportCyberSimulator
publicAirport Cyber Attack Simulation Application
AirportCyberSimulator / airport-cyber-sim-v2 / docker-compose.yml
670 B · main
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | services: airport-cyber-sim-v2: build: context: ./backend dockerfile: Dockerfile image: airport-cyber-sim-v2:latest container_name: airport-cyber-sim-v2 ports: - "8000:8000" volumes: # Hot-reload the data-driven config without rebuilding the image. - ./backend/data:/app/data:ro environment: - TZ=Europe/London restart: unless-stopped healthcheck: test: ["CMD", "python", "-c", "import urllib.request,sys; sys.exit(0 if urllib.request.urlopen('http://127.0.0.1:8000/api/playbooks', timeout=3).status==200 else 1)"] interval: 15s timeout: 4s start_period: 10s retries: 3 |