R2D2-OPS-Kuma/compose.yaml
2026-07-08 07:36:35 -04:00

41 lines
1.3 KiB
YAML

# Local development runtime for the R2D2 — Task Force X FMV console.
#
# Profiles:
# dev — Uptime Kuma only (the monitoring engine).
# docker compose --profile dev up
# full — Kuma + the R2D2 Ops console (operator SPA + media proxy + recorder).
# docker compose --profile full up
#
# The Ops console logs into Kuma with ADMIN_USER / ADMIN_PASS, so seed Kuma with
# the same credentials first (see .settings/seed). Feeds on the NetBird mesh
# read as pending locally — that's expected without the mesh sidecar.
services:
uptime-kuma:
image: louislam/uptime-kuma:2
profiles: ["dev", "full"]
restart: unless-stopped
volumes:
- ./data:/app/data
ports:
# <Host Port>:<Container Port>
- "3001:3001"
ops-console:
profiles: ["full"]
build:
context: .
dockerfile: docker/ops-console.dockerfile
restart: unless-stopped
depends_on:
- uptime-kuma
environment:
KUMA_URL: "http://uptime-kuma:3001"
OPS_BIND: "0.0.0.0"
ADMIN_USER: "${ADMIN_USER:-NATO}"
ADMIN_PASS: "${ADMIN_PASS:-NATO1949}"
# OPS_SECRET: set this to gate the mutating endpoints before exposing the
# console beyond localhost.
volumes:
- ./data/recordings:/recordings
ports:
- "4013:4013"