-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Expand file tree
/
Copy path.env.development
More file actions
76 lines (65 loc) · 2.46 KB
/
.env.development
File metadata and controls
76 lines (65 loc) · 2.46 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
# Development-mode runtime defaults (committed to repo).
# Sourced by bin/start for host-side processes. Loaded into the sandbox
# container via docker-compose env_file. Override in .env.local (gitignored).
#
# Service connection defaults (DATABASE_URL, REDIS_URL, KAFKA_HOSTS,
# CLICKHOUSE_HOST, OBJECT_STORAGE_ENDPOINT, etc.) live in .env.services
# — shared with hobby deployments via docker-compose env_file.
# Core
DEBUG=1
ALLOW_DEV_LOGIN=1
SKIP_SERVICE_VERSION_REQUIREMENTS=1
# Object storage (host-side only — container endpoint is in .env.services)
# Browser-reachable host for presigned URLs (objectstorage:19000 only resolves inside Docker).
OBJECT_STORAGE_PUBLIC_ENDPOINT=http://localhost:19000
SESSION_RECORDING_V2_S3_ENDPOINT=http://localhost:8333
# Redis host overrides (subsystems that don't read REDIS_URL)
CDP_REDIS_HOST=redis7
SESSION_RECORDING_API_REDIS_HOST=redis7
COOKIELESS_REDIS_HOST=redis7
# Temporal
TEMPORAL_HOST=temporal
# Services
BILLING_SERVICE_URL=https://billing.dev.posthog.dev
API_QUERIES_PER_TEAM={"1": 100}
# Internal request token for Python <-> Rust service communication
INTERNAL_REQUEST_TOKEN=dev-internal-token
# Node.js ingestion consumer reaches Cymbal (Rust) on the host via lvh.me (cross-platform)
ERROR_TRACKING_CYMBAL_BASE_URL=http://lvh.me:3302
# Duckgres host port
DUCKGRES_PORT=15432
# Dagster
DAGSTER_UI_HOST=localhost
DAGSTER_UI_PORT=3030
DAGSTER_WEB_PREAGGREGATED_MAX_PARTITIONS_PER_RUN=3000
# OpenTelemetry
OTEL_SERVICE_NAME=posthog-local-dev
OTEL_PYTHON_LOG_LEVEL=debug
# Collector's OTLP gRPC port is mapped to host
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
OTEL_TRACES_EXPORTER=otlp
# Explicitly disable if not used
OTEL_METRICS_EXPORTER=none
OTEL_LOGS_EXPORTER=none
OTEL_PYTHON_DJANGO_INSTRUMENT=true
OTEL_PYTHON_DJANGO_MIDDLEWARE_POSITION=1
# DuckLake
DUCKLAKE_RDS_HOST=localhost
DUCKLAKE_RDS_PORT=5432
DUCKLAKE_RDS_DATABASE=ducklake
DUCKLAKE_RDS_USERNAME=posthog
DUCKLAKE_RDS_PASSWORD=posthog
DUCKLAKE_BUCKET=ducklake-dev
DUCKLAKE_BUCKET_REGION=us-east-1
DUCKLAKE_S3_ACCESS_KEY=object_storage_root_user
DUCKLAKE_S3_SECRET_KEY=object_storage_root_password
# Allow DuckLake catalog reset on version mismatch (dev convenience)
POSTHOG_ALLOW_DUCKLAKE_CATALOG_RESET=1
# Postgres schema fast-path restore mode for `hogli` (auto|off|...)
POSTHOG_SCHEMA_RESTORE_IN_DEV=auto
# personhog (Rust person/group service)
PERSONHOG_ADDR=127.0.0.1:50052
PERSONHOG_ENABLED=true
PERSONHOG_ROLLOUT_PERCENTAGE=100
# Debug
PYDEVD_DISABLE_FILE_VALIDATION=1