From a0b565c160c89c59ec8f8e8a674773875936f5cd Mon Sep 17 00:00:00 2001 From: Nikholas Pcenicni <82239765+nikpcenicni@users.noreply.github.com> Date: Mon, 22 Dec 2025 02:41:46 -0500 Subject: [PATCH] tracearr --- komodo/monitor/tracearr.yaml | 48 ++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 komodo/monitor/tracearr.yaml diff --git a/komodo/monitor/tracearr.yaml b/komodo/monitor/tracearr.yaml new file mode 100644 index 0000000..c5a04e3 --- /dev/null +++ b/komodo/monitor/tracearr.yaml @@ -0,0 +1,48 @@ +# Tracearr All-in-One (Supervised) Deployment +# +# This compose file runs the supervised image which includes: +# - TimescaleDB (PostgreSQL 15) +# - Redis +# - Tracearr application +# +# No external database or Redis required! +# Secrets are auto-generated on first run and persisted. +# +# Usage: +# docker compose -f docker/docker-compose.supervised.yml up -d +# +# Data is stored in Docker volumes by default. +# For bind mounts, uncomment the volumes section below. + +services: + tracearr: + image: ghcr.io/connorgallopo/tracearr:supervised-nightly + shm_size: 256mb # Required for PostgreSQL shared memory + ports: + - "${PORT:-3000}:3000" + environment: + - TZ=${TZ:-UTC} + - LOG_LEVEL=${LOG_LEVEL:-info} + # Optional: Override auto-generated secrets + # - JWT_SECRET=${JWT_SECRET} + # - COOKIE_SECRET=${COOKIE_SECRET} + volumes: + - tracearr_postgres:/data/postgres + - tracearr_redis:/data/redis + - tracearr_data:/data/tracearr + # Bind mount alternative (uncomment and adjust paths): + # - ./data/postgres:/data/postgres + # - ./data/redis:/data/redis + # - ./data/tracearr:/data/tracearr + restart: unless-stopped + healthcheck: + test: ["CMD", "curl", "-f", "http://127.0.0.1:3000/health"] + interval: 30s + timeout: 10s + start_period: 60s + retries: 3 + +volumes: + tracearr_postgres: + tracearr_redis: + tracearr_data: