From fe76a91c04b0de3308247bace8cec993da287adf Mon Sep 17 00:00:00 2001 From: carlospelazas Date: Sat, 27 Apr 2024 13:40:55 +0200 Subject: [PATCH] add grafana and prometheus to production and change buildargs --- .github/workflows/release.yml | 4 +++- docker-compose.yml | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 22184bb5..31e10d8e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,7 +59,9 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} registry: ghcr.io workdir: webapp - buildargs: API_URI,MULTIPLAYER_URI + buildargs: | + API_URI + MULTIPLAYER_URI docker-push-qgservice: name: Push question generator service Docker Image to GitHub Packages diff --git a/docker-compose.yml b/docker-compose.yml index e536a83d..4cfa563f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -132,7 +132,7 @@ services: prometheus: image: prom/prometheus container_name: prometheus-${teamname:-defaultASW} - profiles: ["dev"] + profiles: ["dev", "prod"] networks: - mynetwork volumes: @@ -146,7 +146,7 @@ services: grafana: image: grafana/grafana container_name: grafana-${teamname:-defaultASW} - profiles: ["dev"] + profiles: ["dev", "prod"] networks: - mynetwork volumes: