chore: wipe legacy root scripts and container files

This commit is contained in:
Tiago Ribeiro 2026-03-09 16:07:19 -03:00
parent e42d616acd
commit bda6f0c65d
18 changed files with 0 additions and 4340 deletions

View file

@ -1,25 +0,0 @@
#!/bin/bash
set -e
REGISTRY="rg.fr-par.scw.cloud/yumi"
SERVICES=(
"billing-finance-core"
"crm-core"
"identity-gateway"
"baas-control-plane"
"observability-core"
"repo-integrations-core"
"security-governance-core"
)
for SERVICE in "${SERVICES[@]}"; do
if [ -d "$SERVICE" ]; then
echo "Building $SERVICE..."
docker build -t "$REGISTRY/$SERVICE:latest" ./$SERVICE
echo "Pushing $SERVICE..."
docker push "$REGISTRY/$SERVICE:latest"
echo "Done $SERVICE"
else
echo "Directory $SERVICE not found!"
fi
done

View file

@ -1,30 +0,0 @@
#!/bin/bash
set -e
REGISTRY="rg.fr-par.scw.cloud/yumi"
MODULES=(
"billing-finance-core"
"crm-core"
"repo-integrations-core"
"observability-core"
"platform-projects-core"
"security-governance-core"
"baas-control-plane"
"automation-jobs-core"
)
for module in "${MODULES[@]}"; do
echo "🚀 Building $module..."
# Check if Dockerfile.api exists (for automation-jobs-core)
if [ -f "./$module/Dockerfile.api" ]; then
podman build -t "$REGISTRY/$module:latest" -f "./$module/Dockerfile.api" "./$module"
else
podman build -t "$REGISTRY/$module:latest" "./$module"
fi
echo "🚀 Pushing $module..."
podman push "$REGISTRY/$module:latest"
echo "$module done!"
done
echo "🎉 All modules built and pushed!"

View file

@ -1,23 +0,0 @@
[Unit]
Description=Core Automation Jobs (Ambiente Dev)
After=network-online.target postgres.service
[Service]
Restart=always
Environment=REGISTRY_AUTH_FILE=/run/user/0/containers/auth.json
[Container]
Image=rg.fr-par.scw.cloud/yumi/automation-jobs-core:latest
ContainerName=core-automation-jobs-core-dev
Pull=always
EnvironmentFile=/mnt/data/core/automation-jobs-core/.env
PublishPort=12005:8080
Network=web_proxy
Label=traefik.enable=true
Label=traefik.http.routers.core-automation-jobs-core-dev.rule=Host(`jobs-dev.rede5.com.br`)
Label=traefik.http.routers.core-automation-jobs-core-dev.entrypoints=websecure
Label=traefik.http.routers.core-automation-jobs-core-dev.tls.certresolver=myresolver
Label=traefik.http.services.core-automation-jobs-core-dev.loadbalancer.server.port=8080
[Install]
WantedBy=multi-user.target

View file

@ -1,23 +0,0 @@
[Unit]
Description=Core BaaS Control Plane (Ambiente Dev)
After=network-online.target postgres.service
[Service]
Restart=always
Environment=REGISTRY_AUTH_FILE=/run/user/0/containers/auth.json
[Container]
Image=rg.fr-par.scw.cloud/yumi/baas-control-plane:latest
ContainerName=core-baas-control-plane-dev
Pull=always
EnvironmentFile=/mnt/data/core/baas-control-plane/.env
PublishPort=11005:4000
Network=web_proxy
Label=traefik.enable=true
Label=traefik.http.routers.core-baas-control-plane-dev.rule=Host(`baas-dev.rede5.com.br`)
Label=traefik.http.routers.core-baas-control-plane-dev.entrypoints=websecure
Label=traefik.http.routers.core-baas-control-plane-dev.tls.certresolver=myresolver
Label=traefik.http.services.core-baas-control-plane-dev.loadbalancer.server.port=4000
[Install]
WantedBy=multi-user.target

View file

@ -1,23 +0,0 @@
[Unit]
Description=Core Billing Finance Core (Ambiente Dev)
After=network-online.target postgres.service
[Service]
Restart=always
Environment=REGISTRY_AUTH_FILE=/run/user/0/containers/auth.json
[Container]
Image=rg.fr-par.scw.cloud/yumi/billing-finance-core:latest
ContainerName=core-billing-finance-core-dev
Pull=always
EnvironmentFile=/mnt/data/core/billing-finance-core/.env
PublishPort=5005:3000
Network=web_proxy
Label=traefik.enable=true
Label=traefik.http.routers.core-billing-finance-core-dev.rule=Host(`billing-dev.rede5.com.br`)
Label=traefik.http.routers.core-billing-finance-core-dev.entrypoints=websecure
Label=traefik.http.routers.core-billing-finance-core-dev.tls.certresolver=myresolver
Label=traefik.http.services.core-billing-finance-core-dev.loadbalancer.server.port=3000
[Install]
WantedBy=multi-user.target

View file

@ -1,23 +0,0 @@
[Unit]
Description=Core CRM Core (Ambiente Dev)
After=network-online.target postgres.service
[Service]
Restart=always
Environment=REGISTRY_AUTH_FILE=/run/user/0/containers/auth.json
[Container]
Image=rg.fr-par.scw.cloud/yumi/crm-core:latest
ContainerName=core-crm-core-dev
Pull=always
EnvironmentFile=/mnt/data/core/crm-core/.env
PublishPort=6005:8080
Network=web_proxy
Label=traefik.enable=true
Label=traefik.http.routers.core-crm-core-dev.rule=Host(`crm-dev.rede5.com.br`)
Label=traefik.http.routers.core-crm-core-dev.entrypoints=websecure
Label=traefik.http.routers.core-crm-core-dev.tls.certresolver=myresolver
Label=traefik.http.services.core-crm-core-dev.loadbalancer.server.port=8080
[Install]
WantedBy=multi-user.target

View file

@ -1,23 +0,0 @@
[Unit]
Description=Core Dashboard (Ambiente Dev)
After=network-online.target
[Service]
Restart=always
Environment=REGISTRY_AUTH_FILE=/run/user/0/containers/auth.json
[Container]
Image=rg.fr-par.scw.cloud/yumi/dashboard:latest
ContainerName=core-dashboard-dev
Pull=always
EnvironmentFile=/mnt/data/core/dashboard/.env
PublishPort=3005:3000
Network=web_proxy
Label=traefik.enable=true
Label=traefik.http.routers.core-dashboard-dev.rule=Host(`dev.rede5.com.br`)
Label=traefik.http.routers.core-dashboard-dev.entrypoints=websecure
Label=traefik.http.routers.core-dashboard-dev.tls.certresolver=myresolver
Label=traefik.http.services.core-dashboard-dev.loadbalancer.server.port=3000
[Install]
WantedBy=multi-user.target

View file

@ -1,24 +0,0 @@
[Unit]
Description=Core Identity Gateway (Ambiente Dev)
After=network-online.target postgres.service
[Service]
Restart=always
Environment=REGISTRY_AUTH_FILE=/run/user/0/containers/auth.json
[Container]
Image=rg.fr-par.scw.cloud/yumi/identity-gateway:latest
ContainerName=core-identity-gateway-dev
Pull=always
EnvironmentFile=/mnt/data/core/identity-gateway/.env
Environment=DATABASE_URL=postgres://identity:identity@postgres-main:5432/identity_gateway
PublishPort=4005:4000
Network=web_proxy
Label=traefik.enable=true
Label=traefik.http.routers.core-identity-gateway-dev.rule=Host(`ig-dev.rede5.com.br`)
Label=traefik.http.routers.core-identity-gateway-dev.entrypoints=websecure
Label=traefik.http.routers.core-identity-gateway-dev.tls.certresolver=myresolver
Label=traefik.http.services.core-identity-gateway-dev.loadbalancer.server.port=4000
[Install]
WantedBy=multi-user.target

View file

@ -1,23 +0,0 @@
[Unit]
Description=Core Observability (Ambiente Dev)
After=network-online.target postgres.service
[Service]
Restart=always
Environment=REGISTRY_AUTH_FILE=/run/user/0/containers/auth.json
[Container]
Image=rg.fr-par.scw.cloud/yumi/observability-core:latest
ContainerName=core-observability-core-dev
Pull=always
EnvironmentFile=/mnt/data/core/observability-core/.env
PublishPort=8005:8080
Network=web_proxy
Label=traefik.enable=true
Label=traefik.http.routers.core-observability-core-dev.rule=Host(`obs-dev.rede5.com.br`)
Label=traefik.http.routers.core-observability-core-dev.entrypoints=websecure
Label=traefik.http.routers.core-observability-core-dev.tls.certresolver=myresolver
Label=traefik.http.services.core-observability-core-dev.loadbalancer.server.port=8080
[Install]
WantedBy=multi-user.target

View file

@ -1,23 +0,0 @@
[Unit]
Description=Core Platform Projects (Ambiente Dev)
After=network-online.target postgres.service
[Service]
Restart=always
Environment=REGISTRY_AUTH_FILE=/run/user/0/containers/auth.json
[Container]
Image=rg.fr-par.scw.cloud/yumi/platform-projects-core:latest
ContainerName=core-platform-projects-core-dev
Pull=always
EnvironmentFile=/mnt/data/core/platform-projects-core/.env
PublishPort=9005:8080
Network=web_proxy
Label=traefik.enable=true
Label=traefik.http.routers.core-platform-projects-core-dev.rule=Host(`projects-dev.rede5.com.br`)
Label=traefik.http.routers.core-platform-projects-core-dev.entrypoints=websecure
Label=traefik.http.routers.core-platform-projects-core-dev.tls.certresolver=myresolver
Label=traefik.http.services.core-platform-projects-core-dev.loadbalancer.server.port=8080
[Install]
WantedBy=multi-user.target

View file

@ -1,23 +0,0 @@
[Unit]
Description=Core Repo Integrations (Ambiente Dev)
After=network-online.target postgres.service
[Service]
Restart=always
Environment=REGISTRY_AUTH_FILE=/run/user/0/containers/auth.json
[Container]
Image=rg.fr-par.scw.cloud/yumi/repo-integrations-core:latest
ContainerName=core-repo-integrations-core-dev
Pull=always
EnvironmentFile=/mnt/data/core/repo-integrations-core/.env
PublishPort=7005:8080
Network=web_proxy
Label=traefik.enable=true
Label=traefik.http.routers.core-repo-integrations-core-dev.rule=Host(`repo-dev.rede5.com.br`)
Label=traefik.http.routers.core-repo-integrations-core-dev.entrypoints=websecure
Label=traefik.http.routers.core-repo-integrations-core-dev.tls.certresolver=myresolver
Label=traefik.http.services.core-repo-integrations-core-dev.loadbalancer.server.port=8080
[Install]
WantedBy=multi-user.target

View file

@ -1,23 +0,0 @@
[Unit]
Description=Core Security Governance (Ambiente Dev)
After=network-online.target postgres.service
[Service]
Restart=always
Environment=REGISTRY_AUTH_FILE=/run/user/0/containers/auth.json
[Container]
Image=rg.fr-par.scw.cloud/yumi/security-governance-core:latest
ContainerName=core-security-governance-core-dev
Pull=always
EnvironmentFile=/mnt/data/core/security-governance-core/.env
PublishPort=10005:8080
Network=web_proxy
Label=traefik.enable=true
Label=traefik.http.routers.core-security-governance-core-dev.rule=Host(`sec-dev.rede5.com.br`)
Label=traefik.http.routers.core-security-governance-core-dev.entrypoints=websecure
Label=traefik.http.routers.core-security-governance-core-dev.tls.certresolver=myresolver
Label=traefik.http.services.core-security-governance-core-dev.loadbalancer.server.port=8080
[Install]
WantedBy=multi-user.target

View file

@ -1,27 +0,0 @@
#!/bin/bash
set -e
REGISTRY="rg.fr-par.scw.cloud/yumi"
MODULES=(
"platform-projects-core"
"security-governance-core"
"baas-control-plane"
"automation-jobs-core"
)
for module in "${MODULES[@]}"; do
echo "🚀 Building $module..."
if [ "$module" == "automation-jobs-core" ]; then
if [ -f "./$module/Dockerfile.api" ]; then
podman build -t "$REGISTRY/$module:latest" -f "./$module/Dockerfile.api" "./$module"
fi
else
podman build -t "$REGISTRY/$module:latest" "./$module"
fi
echo "🚀 Pushing $module..."
podman push "$REGISTRY/$module:latest"
echo "$module done!"
done
echo "🎉 Failed modules fixed!"

3931
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,12 +0,0 @@
{
"name": "core-platform",
"private": true,
"workspaces": [
"dashboard"
],
"scripts": {
"build": "npm run build -w dashboard",
"dev:dashboard": "npm run dev -w dashboard",
"lint:dashboard": "npm run lint -w dashboard"
}
}

View file

@ -1,41 +0,0 @@
#!/bin/bash
set -e
REGISTRY="rg.fr-par.scw.cloud/yumi"
SERVICES=(
"automation-jobs-core"
"billing-finance-core"
"baas-control-plane"
"crm-core"
"dashboard"
"identity-gateway"
"observability-core"
"repo-integrations-core"
"security-governance-core"
)
for SERVICE in "${SERVICES[@]}"; do
if [ -d "$SERVICE" ]; then
if [ "$SERVICE" == "automation-jobs-core" ]; then
echo "🚀 Building automation-jobs-api..."
podman build -f Dockerfile.api -t "$REGISTRY/automation-jobs-api:latest" ./$SERVICE
echo "🚀 Pushing automation-jobs-api..."
podman push "$REGISTRY/automation-jobs-api:latest"
echo "🚀 Building automation-jobs-worker..."
podman build -f Dockerfile.worker -t "$REGISTRY/automation-jobs-worker:latest" ./$SERVICE
echo "🚀 Pushing automation-jobs-worker..."
podman push "$REGISTRY/automation-jobs-worker:latest"
else
echo "🚀 Building $SERVICE..."
podman build -t "$REGISTRY/$SERVICE:latest" ./$SERVICE
echo "🚀 Pushing $SERVICE..."
podman push "$REGISTRY/$SERVICE:latest"
fi
echo "✅ Done $SERVICE"
else
echo "⚠️ Directory $SERVICE not found!"
fi
done

View file

@ -1,17 +0,0 @@
#!/bin/bash
set -e
REGISTRY="rg.fr-par.scw.cloud/yumi"
# Dashboard
echo "🚀 Building dashboard..."
podman build -t "$REGISTRY/dashboard:latest" ./dashboard
echo "🚀 Pushing dashboard..."
podman push "$REGISTRY/dashboard:latest"
# Identity Gateway
echo "🚀 Building identity-gateway..."
podman build -t "$REGISTRY/identity-gateway:latest" ./identity-gateway
echo "🚀 Pushing identity-gateway..."
podman push "$REGISTRY/identity-gateway:latest"
echo "✅ Quick push done!"

View file

@ -1,26 +0,0 @@
[Unit]
Description=Zot Registry Container
After=network-online.target
[Service]
Restart=always
[Container]
Image=ghcr.io/project-zot/zot-linux-amd64:latest
ContainerName=zot
Pull=always
# Mount configuration
Volume=/mnt/data/core/zot/config.json:/etc/zot/config.json:Z
# Mount storage
Volume=/mnt/data/registry:/var/lib/registry:Z
# Network
Network=web_proxy
# Traefik Labels
Label=traefik.enable=true
Label=traefik.http.routers.zot.rule=Host(`zot-gru.rede5.com.br`)
Label=traefik.http.routers.zot.entrypoints=websecure
Label=traefik.http.routers.zot.tls.certresolver=myresolver
Label=traefik.http.services.zot.loadbalancer.server.port=5000
[Install]
WantedBy=multi-user.target