How fedia-2211/enterprise-application-platform works
This repository describes an AWS-hosted application platform, not the Gitea application’s source code. The main workflow is to provision production infrastructure with Terraform, configure its servers with Ansible, then use Jenkins for a rolling Gitea deployment. Supporting branches cover network and security infrastructure, databases and messaging, backups, and monitoring. Relationships below are based on the README’s architecture and deployment descriptions; no source excerpts were provided, so implementation-level call paths are unverified.
Main entry points: site.yml Server Playbook · main.tf Production Entry · mysql_backup.sh.j2 Backup Scripts · Jenkinsfile Pipeline
Components 31
Infrastructure
- Production Entry
terraform/environments/production/main.tf - Network
terraform/modules/vpc/main.tf - Compute
terraform/modules/compute/main.tf - Security Groups
terraform/modules/security/main.tf - Load Balancer
terraform/modules/alb/main.tf - Identity Roles
terraform/modules/iam/main.tf - S3 Infrastructure
terraform/modules/s3/main.tf - Monitoring Infra
terraform/modules/monitoring/main.tf
Server Configuration
- Server Playbook
ansible/site.yml - Host Hardening
ansible/roles/common/tasks/main.yml - Nginx Proxy
ansible/roles/nginx/tasks/main.yml - Gitea Setup
ansible/roles/app/tasks/main.yml - MySQL Setup
ansible/roles/mysql/tasks/main.yml - RabbitMQ Setup
ansible/roles/rabbitmq/tasks/main.yml - Cache Setup
ansible/roles/memcached/tasks/main.yml - Jenkins Setup
ansible/roles/jenkins/tasks/main.yml - Agent Setup
ansible/roles/monitoring/tasks/main.yml - Backup Setup
ansible/roles/backup/tasks/main.yml
Deployment
- Pipeline
jenkins/Jenkinsfile - Deploy Job
jenkins/jobs/gitea-deploy.groovy
Platform Services
- Gitea
ansible/roles/app/templates/app.ini.j2 - MySQL
ansible/roles/mysql/tasks/main.yml - RabbitMQ
ansible/roles/rabbitmq/tasks/main.yml - Memcached
ansible/roles/memcached/tasks/main.yml - Proxy Config
ansible/roles/nginx/templates/gitea.conf.j2
Operations
- CloudWatch
terraform/modules/monitoring/main.tf - SNS Alerts
terraform/modules/monitoring/main.tf - Backup Scripts
ansible/roles/backup/templates/mysql_backup.sh.j2 - Backup Storage
terraform/modules/s3/main.tf
Other components
- Operator
- AWS
Connections 34
- Operator → Production Entry: provisions
README.md - Production Entry → AWS: creates infrastructure
README.md - Production Entry → Network: provisions network
README.md - Production Entry → Compute: provisions servers
README.md - Production Entry → Security Groups: sets security groups
README.md - Production Entry → Load Balancer: provisions routing
README.md - Production Entry → Identity Roles: provisions roles
README.md - Production Entry → S3 Infrastructure: provisions storage
README.md - Production Entry → Monitoring Infra: provisions monitoring
README.md - Operator → Server Playbook: configures servers
README.md - Server Playbook → Host Hardening: applies role
README.md - Server Playbook → Nginx Proxy: applies role
README.md - Server Playbook → Gitea Setup: applies role
README.md - Server Playbook → MySQL Setup: applies role
README.md - Server Playbook → RabbitMQ Setup: applies role
README.md - Server Playbook → Cache Setup: applies role
README.md - Server Playbook → Jenkins Setup: applies role
README.md - Server Playbook → Agent Setup: applies role
README.md - Server Playbook → Backup Setup: applies role
README.md - Operator → Pipeline: runs deployment
README.md - Deploy Job → Pipeline: defines job for
README.md - Pipeline → Gitea: deploys rolling
README.md - Gitea Setup → Gitea: configures
README.md - Nginx Proxy → Proxy Config: configures proxy
README.md - Proxy Config → Gitea: proxies requests
README.md - MySQL Setup → MySQL: installs
README.md - RabbitMQ Setup → RabbitMQ: installs
README.md - Cache Setup → Memcached: installs
README.md - Agent Setup → CloudWatch: sends metrics
README.md - CloudWatch → SNS Alerts: alerts through
README.md - Backup Setup → Backup Scripts: installs scripts
README.md - Backup Scripts → MySQL: backs up
README.md - Backup Scripts → Backup Storage: uploads backups
README.md - Load Balancer → Proxy Config: routes traffic
README.md