Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Challenge Task
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OST
BlCh
Challenge Task
Commits
1053c55f
Commit
1053c55f
authored
4 months ago
by
David Hintermann
Browse files
Options
Downloads
Patches
Plain Diff
feat(dashboard): add mor graphs
parent
9f193c0a
Loading
Loading
1 merge request
!10
feat(rebalancer): rebalance automatically
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.env.sample
+5
-1
5 additions, 1 deletion
.env.sample
Frontend/Frontend.csproj
+1
-0
1 addition, 0 deletions
Frontend/Frontend.csproj
Frontend/Program.cs
+3
-0
3 additions, 0 deletions
Frontend/Program.cs
docker-compose.yml
+3
-2
3 additions, 2 deletions
docker-compose.yml
with
12 additions
and
3 deletions
.env.sample
+
5
−
1
View file @
1053c55f
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
This diff is collapsed.
Click to expand it.
Frontend/Frontend.csproj
+
1
−
0
View file @
1053c55f
<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" />
...
...
This diff is collapsed.
Click to expand it.
Frontend/Program.cs
+
3
−
0
View file @
1053c55f
...
...
@@ -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
)!;
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
3
−
2
View file @
1053c55f
...
...
@@ -38,7 +38,7 @@ services:
image
:
dpage/pgadmin4
restart
:
unless-stopped
ports
:
-
"
5050:
505
0"
-
"
5050:
8
0"
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
:
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment