Skip to content

lg-labs/infrastructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛠️ Tools base for developers

👋 Welcome From lg-labs! Get the infrastructure basic for begin to develop your project with high level.

lg-labs License Docs

With the utility lg-labs has created this project, to help community.

For more information, check Personal Blog.

📚 Documentation

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.

You can ...

Using makefile

Using makefile to 😀 ELK start.

make elk-up

👋 Kibana Web Site, Port:5601

Username: elastic
Password: lgpass

To stop ELK make elk-down or completely destroy make elk-clean.

😴 ELK stop:

make elk-down

⛔ ELK destroy:

make elk-clean

Using 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-clean

Using makefile to 😀 Grafana start.

make grafana-up

👋 Grafana WebSite, Port:3000

Username: lglabs
Password: lgpass

To stop Grafana make grafana-down or completely destroy make grafana-clean.

😴 Grafana stop:

make grafana-down

⛔️ Grafana destroy:

make grafana-clean

Using makefile to 😀 Postgres start.

make postgres-up

👋 Postgres UI

Username: 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-clean

Using makefile to 😀 Splunk start.

make splunk-up

👋 Splunk WebSite, Port:9003

For these cases using default credentials
Username: admin
Password: lgpass2024*

😴 Splunk stop:

make splunk-down

⛔️ Splunk destroy:

make splunk-clean

Using makefile to 😀 Kafka start.

make kafka-up

👋 Kafka UI 1 WebSite, Port:9080

😴 Kafka stop:

make kafka-down

⛔️ Kafka destroy:

make kafka-clean

Una 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 (o lglabsoperator, lglabssupport, lglabsviewer) Password: lgpass

⚠️ Requiere make elk-up y make kafka-up previamente (o usar make all-up).

😴 BackOffice stop:

make backoffice-down

⛔️ BackOffice destroy:

make backoffice-clean

Microfrontend 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 (o lglabsoperator, lglabssupport, lglabsviewer) Password: lgpass

⚠️ Requiere make elk-up y make kafka-up previamente (o usar make all-up).

😴 Kafka Dashboard stop (junto al BackOffice):

make backoffice-down

⛔️ Kafka Dashboard destroy (borra backoffice-kafka-dashboard-data):

make backoffice-clean

Microfrontend 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 (o lglabsoperator, lglabssupport, lglabsviewer) Password: lgpass

⚠️ Requiere make elk-up previamente. Atención: el BFF tiene docker.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-clean

All in one

Using makefile to start All.

make all-up

To stop all.

make all-down

⛔️ Or completely destroy.

make all-clean

⚖️ License

The MIT License (MIT). Please see License for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors