You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The .env file controls all service configuration. Key variables:
Core Services
Variable
Default
Description
POSTGRES_VERSION
16-alpine
PostgreSQL image tag
POSTGRES_DB
telemetryflow
Database name
POSTGRES_USER
telemetryflow
Database user
POSTGRES_PASSWORD
—
Database password (required)
POSTGRES_PORT
5432
Host-mapped port
POSTGRES_IP
172.151.151.20
Bridge network IP
CLICKHOUSE_VERSION
latest
ClickHouse image tag
CLICKHOUSE_DB
telemetryflow
Database name
CLICKHOUSE_USER
default
User name
CLICKHOUSE_PASSWORD
—
Password (required)
CLICKHOUSE_HTTP_PORT
8123
HTTP interface port
CLICKHOUSE_TCP_PORT
9000
Native protocol port
CLICKHOUSE_IP
172.151.151.40
Bridge network IP
REDIS_VERSION
7-alpine
Redis image tag
REDIS_PASSWORD
—
Password (required)
REDIS_MAXMEMORY
256mb
Max memory limit
REDIS_IP
172.151.151.50
Bridge network IP
NATS_VERSION
2-alpine
NATS image tag
NATS_CLUSTER_NAME
telemetryflow-cluster
Cluster name
NATS_IP
172.151.151.55
Bridge network IP
Application
Variable
Default
Description
BACKEND_IMAGE
telemetryflow/telemetryflow-platform
Backend image
BACKEND_VERSION
latest
Backend version
BACKEND_PORT
3000
Host-mapped port
BACKEND_IP
172.151.151.10
Bridge network IP
FRONTEND_IMAGE
telemetryflow/telemetryflow-viz
Frontend image
FRONTEND_VERSION
latest
Frontend version
FRONTEND_PORT
8080
Host-mapped port
FRONTEND_IP
172.151.151.15
Bridge network IP
JWT_SECRET
—
JWT signing secret (required)
SESSION_SECRET
—
Session encryption (required)
LLM_ENCRYPTION_KEY
—
LLM config encryption key
API_KEY
—
API authentication key
Monitoring
Variable
Default
Description
TFO_COLLECTOR_VERSION
1.2.1
Collector image tag
TFO_COLLECTOR_IP
172.151.151.30
Bridge network IP
OTEL_GRPC_PORT
4317
OTLP gRPC port
OTEL_HTTP_PORT
4318
OTLP HTTP port
OTEL_METRICS_PORT
8889
Prometheus metrics port
TFO_AGENT_VERSION
1.2.0
Agent image tag
TFO_AGENT_PORT
2025
Agent port
TFO_AGENT_SCRAPE_INTERVAL
15s
Metrics scrape interval
Tools
Variable
Default
Description
PORTAINER_VERSION
latest
Portainer image tag
PORTAINER_PORT
9000
Portainer HTTP port
PORTAINER_TUNNEL_PORT
9443
Portainer HTTPS port
Paths
Variable
Default
Description
VOLUMES_BASE_PATH
./volumes
Base directory for persistent data
Common Operations
# Core services only
docker compose --profile core up -d
# Core + monitoring
docker compose --profile core --profile monitoring up -d
# Everything
docker compose --profile all up -d
# OTEL-instrumented (all-in profile)
docker compose --profile all-in --profile monitoring --profile tools up -d
# Stop all
docker compose --profile core --profile monitoring --profile tools down
# View logs
docker compose logs -f backend
docker compose logs -f tfo-collector
# Restart a service
docker compose restart backend
# Pull latest images
docker compose --profile core pull
# Check status
docker compose ps
Development Workflow
flowchart LR
CODE["Edit Code"] --> BUILD["Build Image"]
BUILD --> UP["docker compose up"]
UP --> TEST["Test Locally"]
TEST -->|Pass| PUSH["Push Image"]
TEST -->|Fail| CODE
PUSH --> DEPLOY["Deploy to<br/>Staging / Prod"]
style CODE fill:#e1f5fe
style TEST fill:#fff3e0
style DEPLOY fill:#c8e6c9
Loading
Using Custom Images
# Build a custom backend image
docker build -t telemetryflow/telemetryflow-platform:dev ./backend
# Use it in Docker Compose
BACKEND_IMAGE=telemetryflow/telemetryflow-platform \
BACKEND_VERSION=dev \
docker compose --profile core up -d
Volume Management
# List volumes
docker volume ls
# Inspect a volume
docker volume inspect telemetryflow-deployment_postgres_data
# Clean up volumes (WARNING: deletes all data)
docker compose --profile core down -v