👋 Welcome From lg-labs! Get the infrastructure basic for begin to develop your project with high level.
With the utility lg-labs has created this project, to help community.
For more information, check Personal Blog.
Full documentation site (VitePress) available at:
👉 https://lg-labs.github.io/infrastructure/
Run the docs locally:
cd docs
npm install
npm run docs:dev # http://localhost:5173/infrastructure/Auto-deploy: any push to master touching docs/** triggers the Deploy VitePress site to Pages workflow.
Using makefile
Using makefile to 😀 ELK start.
make elk-upUsername:
elastic
Password:lgpass
To stop ELK make elk-down or completely destroy make elk-clean.
😴 ELK stop:
make elk-down⛔ ELK destroy:
make elk-cleanUsing makefile to 😀 SonarQube start.
make sonar-up👋 SonarQube WebSite, Port:9000
For these cases using default credentials
Username:lglabs
Password:lgpass
To stop SonarQube make sonar-down or completely destroy make sonar-clean.
😴 SonarQube stop:
make sonar-down⛔️ SonarQube destroy:
make sonar-cleanUsing makefile to 😀 Grafana start.
make grafana-upUsername:
lglabs
Password:lgpass
To stop Grafana make grafana-down or completely destroy make grafana-clean.
😴 Grafana stop:
make grafana-down⛔️ Grafana destroy:
make grafana-cleanUsing makefile to 😀 Postgres start.
make postgres-upUsername:
lg@labx.com
Password:lgpass
Create a server connection at PgAdmin
{
"Servers": {
"1": {
"Name": "My PostgreSQL Server",
"Group": "Servers",
"Host": "postgres",
"Port": 5432,
"MaintenanceDB": "postgres",
"Username": "lglabs",
"Password": "lgpass",
"SSLMode": "prefer",
"UseSSHTunnel": 0
}
}
}👋 PostgreSQL Connection, Port:5432
For these cases using default credentials
Url:jdbc:postgresql://localhost:5432/postgres
Username:lglabs
Password:lgpass
😴 Postgres stop:
make postgres-down⛔️ Postgres destroy:
make postgres-cleanUsing makefile to 😀 Splunk start.
make splunk-upFor these cases using default credentials
Username:admin
Password:lgpass2024*
😴 Splunk stop:
make splunk-down⛔️ Splunk destroy:
make splunk-cleanUsing makefile to 😀 Kafka start.
make kafka-up😴 Kafka stop:
make kafka-down⛔️ Kafka destroy:
make kafka-cleanUna sola URL con SSO sobre Keycloak para administrar Kafka (AKHQ), contenedores (Portainer), logs (Kibana) y el propio Keycloak Admin. Audit log automático a ELK.
make backoffice-up👋 BackOffice WebSite, Port:8080
4 usuarios seed, uno por rol (admin / operator / support / viewer): Username:
lglabsadmin(olglabsoperator,lglabssupport,lglabsviewer) Password:lgpass
⚠️ Requieremake elk-upymake kafka-uppreviamente (o usarmake all-up).
😴 BackOffice stop:
make backoffice-down⛔️ BackOffice destroy:
make backoffice-cleanMicrofrontend del BackOffice (/kafka/) para gestión declarativa de topics, schemas y ACL-metadata del cluster Kafka, con SSO + roles del BackOffice y audit a backoffice-audit-*. Arranca automáticamente con el BackOffice (no tiene comando make propio).
make backoffice-up # incluye kafka-dashboard👋 Kafka Dashboard, Port:8080/kafka/
Mismos 4 usuarios seed del BackOffice (admin / operator / support / viewer): Username:
lglabsadmin(olglabsoperator,lglabssupport,lglabsviewer) Password:lgpass
⚠️ Requieremake elk-upymake kafka-uppreviamente (o usarmake all-up).
😴 Kafka Dashboard stop (junto al BackOffice):
make backoffice-down⛔️ Kafka Dashboard destroy (borra backoffice-kafka-dashboard-data):
make backoffice-cleanMicrofrontend del BackOffice (/containers/) para gestionar el daemon Docker del host: containers, images, volumes, networks; con logs/stats live, exec shell (admin) y remove (admin), todo bajo SSO + roles del BackOffice y audit a backoffice-audit-*. Incluye Projects view (Phase I) que descubre Compose stacks vía labels y renderiza un diagrama de topología con Mermaid (services, depends_on, networks, volumes). Arranca automáticamente con el BackOffice. Coexiste con Portainer (/portainer/).
make backoffice-up # incluye containers-dashboard👋 Containers Dashboard, Port:8080/containers/
Mismos 4 usuarios seed del BackOffice (admin / operator / support / viewer): Username:
lglabsadmin(olglabsoperator,lglabssupport,lglabsviewer) Password:lgpass
⚠️ Requieremake elk-uppreviamente. Atención: el BFF tienedocker.sock:rw(mismo nivel que Portainer); mitigado vía denylist + RBAC + audit.
😴 Containers Dashboard stop (junto al BackOffice):
make backoffice-down⛔️ Containers Dashboard destroy (borra backoffice-containers-dashboard-data):
make backoffice-cleanUsing makefile to start All.
make all-upTo stop all.
make all-down⛔️ Or completely destroy.
make all-cleanThe MIT License (MIT). Please see License for more information.
