Requirements
What you need before running TryOpenTrace locally.
Local development
- Docker and Docker Compose
- Bun (optional, for running apps locally)
Ports used
8080for the API server (container port 3000)3000for the web app when running locally5432for Postgres6379for Redis9000and9001for RustFS (optional for sourcemaps)
Environment variables
Copy the root .env.example if you want to customize defaults. The Docker Compose files
provide sane defaults so you can usually start without changes.
If you run the apps directly, set these:
- Server:
DATABASE_URL,REDIS_URL,BETTER_AUTH_SECRET,BETTER_AUTH_URL,CORS_ORIGIN - Web:
VITE_SERVER_URL