Skip to content
Snippets Groups Projects
Commit 1053c55f authored by David Hintermann's avatar David Hintermann
Browse files

feat(dashboard): add mor graphs

parent 9f193c0a
1 merge request!10feat(rebalancer): rebalance automatically
API_URL=https://sepolia.infura.io/v3/{yourApiKey}
ACCOUNT_PRIVATE_KEY=
\ No newline at end of file
ACCOUNT_PRIVATE_KEY=
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
POSTGRES_DB=roesticoin
POSTGRES_USER=roesticoin
\ No newline at end of file
<Project Sdk="Microsoft.NET.Sdk.Web">
<ItemGroup>
<PackageReference Include="DotNetEnv" Version="3.1.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.11" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" />
<PackageReference Include="Nethereum.Web3" Version="4.26.0" />
......
......@@ -9,11 +9,14 @@ using Frontend.Metrics;
using Nethereum.Web3;
using Nethereum.Web3.Accounts;
using Microsoft.EntityFrameworkCore;
using DotNetEnv;
using OpenTelemetry.Metrics;
using OpenTelemetry.Resources;
using Org.BouncyCastle.Utilities;
// ensure the env file is loaded
Env.Load("../.env");
// the location differ in dev and releas mode.
var tokenAbiLocation = Environment.GetEnvironmentVariable("TOKEN_ABI_LOCATION")!;
var tokenAbi = File.ReadAllText(tokenAbiLocation)!;
......
......@@ -38,7 +38,7 @@ services:
image: dpage/pgadmin4
restart: unless-stopped
ports:
- "5050:5050"
- "5050:80"
environment:
PGADMIN_DEFAULT_EMAIL: 'roesti@example.com'
PGADMIN_DEFAULT_PASSWORD: 'TheRoestiCoinsPgAdmin'
......@@ -47,7 +47,8 @@ services:
- .env
ports:
- 8080:8080
depends_on:
- postgres
volumes:
prometheus_data:
postgres_data:
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment