From 61725307a3ae92a6657672a11194e9e9448efebf Mon Sep 17 00:00:00 2001 From: BobTheBuidler <70677534+BobTheBuidler@users.noreply.github.com> Date: Mon, 8 Apr 2024 19:46:13 -0400 Subject: [PATCH] feat: ydb (#703) --- services/dashboard/docker-compose.infra.yml | 1 + services/dashboard/docker-compose.yml | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/services/dashboard/docker-compose.infra.yml b/services/dashboard/docker-compose.infra.yml index d13f4219c..9d09e1750 100644 --- a/services/dashboard/docker-compose.infra.yml +++ b/services/dashboard/docker-compose.infra.yml @@ -4,6 +4,7 @@ volumes: grafana_data: {} victoria_metrics_data: {} postgres_data: {} + ypostgres_data: {} networks: stack: diff --git a/services/dashboard/docker-compose.yml b/services/dashboard/docker-compose.yml index 4454d8e41..446739c01 100644 --- a/services/dashboard/docker-compose.yml +++ b/services/dashboard/docker-compose.yml @@ -111,6 +111,13 @@ x-envs: &envs # DOCKER CONTAINER ENVS - CONTAINER_NAME + + - YPRICEMAGIC_DB_PROVIDER=postgres + - YPRICEMAGIC_DB_HOST=ypostgres + - YPRICEMAGIC_DB_PORT=5432 + - YPRICEMAGIC_DB_USER=${PGUSER:-postgres} + - YPRICEMAGIC_DB_PASSWORD=${PGPASSWORD:-yearn-exporter} + - YPRICEMAGIC_DB_DATABASE=${YPRICEMAGIC_DB_DATABASE:-postgres} x-volumes: &volumes - brownie:/root/.brownie @@ -127,6 +134,7 @@ services: - yearn-exporter-infra_stack external_links: - yearn-exporter-infra-postgres-1:postgres + - yearn-exporter-infra-ypostgres-1:ypostgres - yearn-exporter-infra-victoria-metrics-1:victoria-metrics logging: driver: "json-file"