How janikmiet/docker_sleeprevolution works
Main Components
a) Client Layer:
• Web Browser interface
• Caddy Web Server (reverse proxy/load balancer)
b) Application Layer (3 Shiny Applications):
• Sleep Apnea Cost Visualizer
• Sleep Apnea Calculator
• Sleep Apnea Predictor
c) Container Infrastructure:
• Docker environment
• Docker Compose orchestration
[Client Tier]
[Service Tier]
[Container Tier]
Specific Component Relationships
• How the Caddy webserver routes requests to the three Shiny applications
• The containerization of each component
• The Docker Compose orchestration layer
Key Elements to Highlight
a) Entry Points:
• HTTP/HTTPS traffic entering through Caddy
• Port mappings from host to containers
b) Application Components:
• Each Shiny application as a separate container
• Inter-container communication if any exists
c) Infrastructure:
• Docker Compose orchestration
• Network isolation between containers
• [Web Browser] → [Caddy Webserver]
Service routing layer
• [Caddy Webserver]
• ↙ ↓ ↘
• [Visualizer] [Calculator] [Predictor]
Container infrastructure
• [Docker Compose]
• [Visualizer Container]
• [Calculator Container]
• [Predictor Container]
Additional Details
Annotations for:
• Docker image references (from Docker Hub)
• Port mappings
• Volume mounts if present
• Network configurations