How coip/banalplatitude works
Project Type: This is a containerized Go-based HTTP service with CI/CD automation, designed to demonstrate basic Docker container lifecycle and GitHub Packages integration.
Client Layer
• HTTP Client (curl)
• Port mapping (hostPort:8080)
Container Layer
• Docker Container ("acker")
• Port binding (8080:8080)
• Container lifecycle states
Application Layer
• Go HTTP Server
• Request handler (showing header processing for "id")
CI/CD Pipeline
• GitHub Actions workflows
• GitHub Packages (Docker registry)
• [Client Layer]
• ↓
• [Container Layer]
• ↓
• [Application Layer]
A separate pipeline flow on the side
• [GitHub Actions] → [GitHub Packages] → [Docker Pull]
• Blue: Client components
• Green: Container components
• Yellow: Application components
• Purple: CI/CD components
Important Elements to Highlight:
Container lifecycle states (pull → run → stop → remove)
[HTTP Client (curl)] ---(HTTP Request with 'id' header)--→ [Host Port :8080]
• ↓
• [Docker Container Port :8080]
• ↓
• [Go HTTP Server Listener]
[GitHub Actions] ---(Build)--→ [Docker Image] ---(Push)--→ [GitHub Packages]
• ↑ ↓
• [Source Code] ←---------------------------------------- [Docker Pull]
Configurable ports (hostPort and svcPort)
Level of Detail:
• Keep the main flow simple and clear
• Version tags and port numbers
• Authentication touchpoints