chore: docker-compose.yml (app + frontend + jaeger)#35
Merged
Conversation
Port docker-compose.yml from Teller. Switch the frontend service from a static nginx build (Teller) to a Vite dev server on port 5173 with bind-mounted source for HMR. Bump OTel env vars from OTEL_ENDPOINT to the standard OTEL_EXPORTER_OTLP_ENDPOINT/OTEL_EXPORTER_OTLP_PROTOCOL/OTEL_SERVICE_NAME triple (matches what the OTel SDK reads in #19). Make .env optional via env_file.path +required:false so first-time `docker compose up` works without a .env file. Closes #7 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docker-compose.ymlfrom Teller. Three services:app(port 8000),frontend(port 5173, Vite dev server with bind-mounted source for HMR),jaeger(UI 16686, OTLP gRPC 4317, OTLP HTTP 4318).OTEL_ENDPOINTenv var with the standardOTEL_EXPORTER_OTLP_{ENDPOINT,PROTOCOL}+OTEL_SERVICE_NAMEtriple — matches what the OTel Python SDK reads (wired in feat: observability setup (OTel SDK, OTLP exporter, structured logging, span helpers) #19)..envoptional (env_file.required: false) sodocker compose upworks on a fresh clone before secrets are configured.Closes #7.
Test plan
jaeger:4317.docker compose upend-to-end — deferred to test: end-to-end smoke (docker compose up, sample PR runs every gate green, eval workflow_dispatch) #27 (depends on feat: frontend scaffold (Vite + React 19.2 + TS strict, eslint flat + prettier + vitest) #21 frontend Dockerfile + feat: backend scaffold (FastAPI app, /api/v1/health, /api/v1/echo, sessions) #17 backend app).🤖 Generated with Claude Code