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 / docker-compose.yml 661 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:
    build:
      context: ./backend
      dockerfile: Dockerfile
    image: airport-cyber-sim:latest
    container_name: airport-cyber-sim
    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