How lunartown/actions-test works
Main Components
a) Application Core:
• Spring Boot Application Container
• Main application (JavaStarterApplication)
• Template application component
• Resource configurations (application.yml)
b) Infrastructure Components:
• Docker Environment
• MongoDB container (pre-configured)
• Optional MySQL container
• Optional Redis container
c) Development Tools:
• GitHub Actions Workflow System
• Template creation workflow
• Testing workflows
• Slack integration
┌─────────────────────────────────────┐
• GitHub Actions │
• ┤
• Template Creation Workflow │
• Testing Workflow │
• Slack Notifications │
• ┘
┌─────────────────────────────────────┐
• Spring Boot Application │
• ┤
• Main Application Component │
• Template Component │
• Configuration (application.yml) │
• ┘
┌─────────────────────────────────┐
• Docker Environment │
• ┤
• ┌─────────┐ ┌───────┐ ┌───────┐│
• MongoDB │ │MySQL │ │Redis ││
• (Default)│ │(Opt.) │ │(Opt.) ││
• ┘ └───────┘ └───────┘│
• ┘
Important Details
a) Configuration Flow:
• How application.yml connects to different database services
• Initialization scripts (init-mongo.sh) connection to MongoDB
b) Environment Separation:
• Local development environment (docker-compose.local.yml)
• Production environment setup (docker-compose.yml)
Relationships to Highlight
• GitHub Actions → New Repository Creation
• Application → Database Connections
• Docker Compose → Container Management
• Configuration Files → Service Setup