Repository navigation
Expand file tree
/
Copy pathdocker-compose.sqlite.yml
More file actions
42 lines (38 loc) · 1.7 KB
/
Copy pathdocker-compose.sqlite.yml
File metadata and controls
42 lines (38 loc) · 1.7 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
services:
traceway:
build:
context: .
dockerfile: Dockerfile.sqlite
ports:
- "80:80"
environment:
JWT_SECRET: change-this-to-a-secure-secret-at-least-32-chars
# APP_BASE_URL: "https://traceway.example.com"
# Proxies whose X-Forwarded-For is trusted for the real client IP (the
# per-IP rate limits key on it). Only loopback is trusted by default, so
# list every hop in front of Traceway: a proxy container, an ingress, a CDN.
# TRUSTED_PROXIES: "172.18.0.0/16"
# TRUSTED_PROXY_HEADER: "X-Real-IP"
# The telemetry page cache is per connection (up to 4) and costs about twice
# its size, so the 512 MB default can take up to 4 GB. On a memory-capped
# host set it to the container's memory in MB divided by 32: 32 for 1 GB.
# SQLITE_CACHE_SIZE_MB: "32"
# Optional retention knobs. Defaults are 30 days; set to "0" to disable.
# SQLITE_RETENTION_DAYS prunes telemetry rows; SESSION_RECORDING_RETENTION_DAYS
# cleans on-disk recordings under STORAGE_PATH/recordings/. Both run hourly
# and on startup. The recording cleanup has no effect when STORAGE_TYPE=s3.
# SQLITE_RETENTION_DAYS: "30"
# SESSION_RECORDING_RETENTION_DAYS: "30"
# Optional: store blobs (source maps, session recordings, AI traces) in S3
# instead of the local /data/storage folder.
# STORAGE_TYPE: "s3"
# S3_BUCKET: "your-bucket"
# S3_REGION: "us-east-1"
# S3_ACCESS_KEY: "your-access-key"
# S3_SECRET_KEY: "your-secret-key"
# S3_ENDPOINT: "https://s3.example.com" # for MinIO / R2 / Spaces
volumes:
- traceway-data:/data
restart: unless-stopped
volumes:
traceway-data: