From e29a4c2d09ae5ee45db5a3b358035b52b23df4aa Mon Sep 17 00:00:00 2001 From: Ruben Date: Mon, 29 Apr 2024 02:39:31 +0200 Subject: [PATCH] Cambio para que funcione Prometheus --- .github/workflows/release.yml | 1 + gatewayservice/monitoring/prometheus/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3e23b872..bab02844 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -268,6 +268,7 @@ jobs: user: ${{ secrets.DEPLOY_USER }} key: ${{ secrets.DEPLOY_KEY }} command: | + cp -r ../gatewayservice/monitoring /home/azureuser/gatewayservice/monitoring wget https://raw.githubusercontent.com/arquisoft/wiq_es2c/master/docker-compose.yml -O docker-compose.yml wget https://raw.githubusercontent.com/arquisoft/wiq_es2c/master/.env -O .env docker compose --profile prod down diff --git a/gatewayservice/monitoring/prometheus/Dockerfile b/gatewayservice/monitoring/prometheus/Dockerfile index 6b61a982..be023fe0 100644 --- a/gatewayservice/monitoring/prometheus/Dockerfile +++ b/gatewayservice/monitoring/prometheus/Dockerfile @@ -8,7 +8,7 @@ RUN addgroup -S nonroot \ RUN chown -R nonroot:nonroot ./ -COPY prometheus.yml /etc/prometheus/prometheus.yml +COPY prometheus.yml ./ USER nonroot