[Sprint 01] build: Create Docker multi-service infrastructure with Caddy #25

Closed
opened 2026-02-03 22:51:18 +00:00 by lmiranda · 1 comment
Owner

Create Docker infrastructure with two-service architecture: Python app and Caddy reverse proxy.

Dependencies

Tasks

  • Create docker/ directory
  • Create docker/docker-compose.yml with two services (app + caddy)
  • Create docker/Dockerfile:
    • Install git package
    • Expose port 8080
    • Use curl for healthcheck
    • Install marketplace dependency
  • Create docker/Caddyfile:
    • HTTPS termination
    • Proxy to app:8080
    • MCP endpoint routing
  • Validate Dockerfile builds
  • Validate docker-compose configuration
  • Validate Caddyfile syntax

Acceptance Criteria

  • docker/docker-compose.yml has two services (app + caddy)
  • docker/Dockerfile installs git and uses port 8080
  • docker/Caddyfile exists and proxies to app:8080
  • Can build: docker build -f docker/Dockerfile -t test .
  • Can validate: docker-compose -f docker/docker-compose.yml config
  • Caddy config validates successfully

Implementation Reference

See docs/sprint-proposals/sprint-01-implementation-guide.md - Phase 6, Issues #11-14

Estimated Time: 3-4 hours

Create Docker infrastructure with two-service architecture: Python app and Caddy reverse proxy. ## Dependencies - Blocked by: #22, #24 ## Tasks - [ ] Create `docker/` directory - [ ] Create `docker/docker-compose.yml` with two services (app + caddy) - [ ] Create `docker/Dockerfile`: - Install git package - Expose port 8080 - Use curl for healthcheck - Install marketplace dependency - [ ] Create `docker/Caddyfile`: - HTTPS termination - Proxy to app:8080 - MCP endpoint routing - [ ] Validate Dockerfile builds - [ ] Validate docker-compose configuration - [ ] Validate Caddyfile syntax ## Acceptance Criteria - `docker/docker-compose.yml` has two services (app + caddy) - `docker/Dockerfile` installs git and uses port 8080 - `docker/Caddyfile` exists and proxies to app:8080 - Can build: `docker build -f docker/Dockerfile -t test .` - Can validate: `docker-compose -f docker/docker-compose.yml config` - Caddy config validates successfully ## Implementation Reference See `docs/sprint-proposals/sprint-01-implementation-guide.md` - Phase 6, Issues #11-14 **Estimated Time:** 3-4 hours
lmiranda added this to the Sprint 01: Core Architecture Correction milestone 2026-02-03 22:51:18 +00:00
lmiranda added the Size/MComponent/DockerPriority/HighType/Build labels 2026-02-03 22:51:18 +00:00
Author
Owner

Completed: Created docker/ directory with Dockerfile, docker-compose.yml, Caddyfile, and .env.example. Multi-service architecture with Python app + Caddy reverse proxy.

Completed: Created docker/ directory with Dockerfile, docker-compose.yml, Caddyfile, and .env.example. Multi-service architecture with Python app + Caddy reverse proxy.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: personal-projects/gitea-mcp-remote#25