-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
83 lines (68 loc) · 3.14 KB
/
.env.example
File metadata and controls
83 lines (68 loc) · 3.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# =============================================================================
# Dataing Self-Host Configuration
# Copy this file to .env and fill in required values
# =============================================================================
#
# Quick Start:
# 1. cp .env.example .env
# 2. Add your ANTHROPIC_API_KEY
# 3. Generate DATADR_ENCRYPTION_KEY (see below)
# 4. docker compose up -d
#
# =============================================================================
# -----------------------------------------------------------------------------
# Required - Investigations will fail without these
# -----------------------------------------------------------------------------
# Anthropic API key for LLM-powered investigation (required)
# Get your key at: https://console.anthropic.com
ANTHROPIC_API_KEY=
# Fernet encryption key for datasource credentials (required)
# Generate with: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
DATADR_ENCRYPTION_KEY=
# -----------------------------------------------------------------------------
# Database Configuration
# -----------------------------------------------------------------------------
# PostgreSQL password (CHANGE in production!)
POSTGRES_PASSWORD=dataing
# -----------------------------------------------------------------------------
# Temporal Configuration
# -----------------------------------------------------------------------------
# Temporal namespace (default: default)
TEMPORAL_NAMESPACE=default
# Temporal task queue (default: investigations)
TEMPORAL_TASK_QUEUE=investigations
# -----------------------------------------------------------------------------
# API Configuration
# -----------------------------------------------------------------------------
# LLM model to use for investigations
# Options: claude-sonnet-4-20250514, claude-opus-4-20250514
LLM_MODEL=claude-sonnet-4-20250514
# -----------------------------------------------------------------------------
# Optional: Observability
# Enable with: docker compose --profile observability up -d
# -----------------------------------------------------------------------------
# OpenTelemetry exporter endpoint (for --profile observability)
# OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4318
# Enable OpenTelemetry tracing
# OTEL_TRACES_ENABLED=true
# Enable OpenTelemetry metrics
# OTEL_METRICS_ENABLED=true
# =============================================================================
# First-Run Initialization Notes
# =============================================================================
#
# 1. Database migrations run automatically on first API startup
#
# 2. Generate your encryption key:
# python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
#
# 3. Create an admin user and API key:
# docker compose exec api python -m dataing.scripts.create_user \
# --email admin@example.com --password your-password --role admin
#
# 4. Access the application:
# - Frontend: http://localhost:3000
# - API: http://localhost:8000
# - Temporal UI: http://localhost:8233
#
# =============================================================================