# GigLez — single-service deployment of the live simple-mode API. # docker compose up --build → http://localhost:8000 services: giglez: build: . image: giglez:latest ports: - "8000:8000" volumes: # Persist the JSON capture store across restarts. Seeded from the # baked-in data/ on first run (see Dockerfile), then app writes survive. - giglez_data:/app/data 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/health').status==200 else 1)"] interval: 30s timeout: 3s start_period: 15s retries: 3 volumes: giglez_data: