Skip to content

Commit

Permalink
feat: ydb (#703)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler authored Apr 8, 2024
1 parent 1739e85 commit 6172530
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions services/dashboard/docker-compose.infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ volumes:
grafana_data: {}
victoria_metrics_data: {}
postgres_data: {}
ypostgres_data: {}

networks:
stack:
Expand Down
8 changes: 8 additions & 0 deletions services/dashboard/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit 6172530

Please sign in to comment.