pipeline updates

This commit is contained in:
buenosairesam
2026-01-26 12:38:52 -03:00
parent 9ddcb68131
commit 761bca20b0
3 changed files with 14 additions and 1 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
def
.env

View File

@@ -8,10 +8,20 @@ steps:
- name: build
image: plugins/docker
settings:
repo: registry.mcrn.ar/sysmonstm
repo: registry.mcrn.ar/sysmonstm/edge
registry: registry.mcrn.ar
tags:
- latest
- ${CI_COMMIT_SHA:0:7}
dockerfile: ctrl/edge/Dockerfile
context: ctrl/edge
- name: deploy
image: docker:24-cli
commands:
- cd /repo/ctrl/edge
- docker compose pull
- docker compose up -d --remove-orphans
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /home/mariano/sysmonstm:/repo

View File

@@ -90,6 +90,8 @@ services:
HTTP_PORT: 8000
AGGREGATOR_URL: aggregator:50051
SERVICE_NAME: gateway
EDGE_URL: ${EDGE_URL:-}
EDGE_API_KEY: ${EDGE_API_KEY:-}
ports:
- "${GATEWAY_PORT:-8000}:8000"
depends_on: