Skip to content
Snippets Groups Projects
Verified Commit 3c427e1b authored by Martin Weise's avatar Martin Weise
Browse files

Hotfix persistence for Prometheus

parent 739a37a4
Branches
Tags
7 merge requests!345Updated docs and endpoints:,!341Fixed mapping problem where UK and FK share columns they are inserted,!339Fixed mapping problem where UK and FK share columns they are inserted,!338Fixed mapping problem where UK and FK share columns they are inserted,!334Fixed mapping problem where UK and FK share columns they are inserted,!333Fixed mapping problem where UK and FK share columns they are inserted,!328Hotfix/mapping
...@@ -7,6 +7,7 @@ volumes: ...@@ -7,6 +7,7 @@ volumes:
search-db-data: search-db-data:
storage-service-data: storage-service-data:
identity-service-data: identity-service-data:
metric-db-data:
services: services:
dbrepo-metadata-db: dbrepo-metadata-db:
...@@ -280,11 +281,6 @@ services: ...@@ -280,11 +281,6 @@ services:
NUXT_PUBLIC_API_CLIENT: "${BASE_URL:-http://localhost}" NUXT_PUBLIC_API_CLIENT: "${BASE_URL:-http://localhost}"
NUXT_PUBLIC_API_SERVER: "${BASE_URL:-http://localhost}" NUXT_PUBLIC_API_SERVER: "${BASE_URL:-http://localhost}"
NUXT_PUBLIC_UPLOAD_CLIENT: "${BASE_URL:-http://localhost}/api/upload/files/" NUXT_PUBLIC_UPLOAD_CLIENT: "${BASE_URL:-http://localhost}/api/upload/files/"
depends_on:
dbrepo-search-service:
condition: service_started
dbrepo-storage-service:
condition: service_healthy
healthcheck: healthcheck:
test: wget -qO- localhost:3000 | grep "Database Repository" || exit 1 test: wget -qO- localhost:3000 | grep "Database Repository" || exit 1
interval: 10s interval: 10s
...@@ -387,6 +383,7 @@ services: ...@@ -387,6 +383,7 @@ services:
image: bitnami/prometheus:2.54.1-debian-12-r4 image: bitnami/prometheus:2.54.1-debian-12-r4
volumes: volumes:
- ./config/prometheus.yml:/etc/prometheus/prometheus.yml - ./config/prometheus.yml:/etc/prometheus/prometheus.yml
- metric-db-data:/opt/bitnami/prometheus/data
healthcheck: healthcheck:
test: promtool check healthy test: promtool check healthy
interval: 10s interval: 10s
......
...@@ -7,6 +7,7 @@ volumes: ...@@ -7,6 +7,7 @@ volumes:
search-db-data: search-db-data:
storage-service-data: storage-service-data:
identity-service-data: identity-service-data:
metric-db-data:
services: services:
dbrepo-metadata-db: dbrepo-metadata-db:
...@@ -432,6 +433,7 @@ services: ...@@ -432,6 +433,7 @@ services:
image: bitnami/prometheus:2.54.1-debian-12-r4 image: bitnami/prometheus:2.54.1-debian-12-r4
volumes: volumes:
- ./dbrepo-metric-db/prometheus.yml:/etc/prometheus/prometheus.yml - ./dbrepo-metric-db/prometheus.yml:/etc/prometheus/prometheus.yml
- metric-db-data:/opt/bitnami/prometheus/data
ports: ports:
- 9090:9090 - 9090:9090
healthcheck: healthcheck:
...@@ -450,6 +452,8 @@ services: ...@@ -450,6 +452,8 @@ services:
build: build:
context: ./dbrepo-dashboard-service context: ./dbrepo-dashboard-service
network: host network: host
volumes:
- dashboard-service-data:/opt/bitnami/grafana/data
environment: environment:
GF_SERVER_DOMAIN: "dashboard-service" GF_SERVER_DOMAIN: "dashboard-service"
GF_SERVER_ROOT_URL: "${BASE_URL:-http://localhost}/dashboard/" GF_SERVER_ROOT_URL: "${BASE_URL:-http://localhost}/dashboard/"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment