Add complete SACC v4 infrastructure project

- Terraform modules: VPC, EC2, RDS, S3, CloudFront, Route53, Lambda, IAM, Security Groups
- Ansible playbooks for server configuration
- Scripts: create-test-environment.sh, destroy-test-environment.sh, validate-environment.sh
- Documentation: README, QUICKSTART, AGENTS
- Jenkins pipeline for automated deployment
- Jenkins pipeline for environment destruction
This commit is contained in:
Jenkins CI
2026-06-03 04:39:01 +00:00
commit 71be2abd2e
27 changed files with 6424 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
[Unit]
Description=SACC4 {{ item.name }} Service
After=network.target
[Service]
Type=simple
User=osiris
Group=duat
WorkingDirectory=/opt/sacc4/{{ item.name }}/current
ExecStart=/usr/bin/java -jar /opt/sacc4/{{ item.name }}/current/{{ item.name }}.jar
ExecStop=/bin/kill -15 $MAINPID
Restart=on-failure
RestartSec=10
StandardOutput=append:/var/log/sacc4/{{ item.name }}/{{ item.name }}-service.log
StandardError=append:/var/log/sacc4/{{ item.name }}/{{ item.name }}-error.log
# Límites de recursos
MemoryLimit=512M
CPUQuota=50%
# Variables de entorno
EnvironmentFile=/etc/sacc4/sacc4.env
Environment="SERVER_PORT={{ item.port }}"
Environment="LOG_PATH=/var/log/sacc4/{{ item.name }}/{{ item.name }}.log"
[Install]
WantedBy=multi-user.target