-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathdocker-compose.sqlite.yml
More file actions
38 lines (35 loc) · 1.27 KB
/
docker-compose.sqlite.yml
File metadata and controls
38 lines (35 loc) · 1.27 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
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"
# 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
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost/health"]
interval: 30s
timeout: 3s
start_period: 5s
retries: 3
volumes:
traceway-data: