Skip to content

Commit

Permalink
added elenpay for dev as api token
Browse files Browse the repository at this point in the history
  • Loading branch information
daliclovr committed Jul 3, 2024
1 parent 51cb2d6 commit 4e02c0f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
20 changes: 10 additions & 10 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,24 @@ services:
platform: linux/amd64
hostname: nbxplorer
ports:
- "32838:32838"
- "32838:32838"
environment:
NBXPLORER_NETWORK: regtest
NBXPLORER_BIND: 0.0.0.0:32838
NBXPLORER_TRIMEVENTS: 10000
NBXPLORER_SIGNALFILESDIR: /datadir
#Keeping dbtrie for dev until it is fully removed since we would need to modify nbxplorer docker image to wait for the db to be ready
NBXPLORER_DBTRIE: 1
# NBXPLORER_POSTGRES: Host=nbxplorer_postgres;Port=5432;Database=nbxplorer;Username=rw_dev;Password=rw_dev
NBXPLORER_DBTRIE: 0
NBXPLORER_POSTGRES: Host=nbxplorer_postgres;Port=5432;Database=nbxplorer;Username=rw_dev;Password=rw_dev
NBXPLORER_CHAINS: "btc"
NBXPLORER_BTCRPCUSER: "polaruser"
NBXPLORER_BTCRPCPASSWORD: "polarpass"
NBXPLORER_BTCRPCURL: http://host.docker.internal:18443/
NBXPLORER_BTCNODEENDPOINT: host.docker.internal:19444
command: ["--noauth"]
volumes:
- "bitcoin_datadir:/root/.bitcoin"
- "bitcoin_datadir:/root/.bitcoin"

nbxplorer_postgres:
container_name: nbxplorer_postgres
image: postgres:16
Expand All @@ -57,8 +57,8 @@ services:


volumes:
nodeguard_postgres_data:
bitcoin_datadir:
nbxplorer_datadir:
nbxplorer_postgres_data:
nodeguard_data_keys_dir:
nodeguard_postgres_data:
bitcoin_datadir:
nbxplorer_datadir:
nbxplorer_postgres_data:
nodeguard_data_keys_dir:
3 changes: 2 additions & 1 deletion src/Data/DbInitializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,8 @@ public static void Initialize(IServiceProvider serviceProvider)
{
{ "BTCPay", "9Hoz0PMYCsnPUzPO/JbJu8UdaKaAHJsh946xH20UzA0=" },
{ "X", "C+ktTkMGQupY9LY3IkpyqQQ2pDa7idaeSUKUnm+RawI=" },
{ "Liquidator", "8rvSsUGeyXXdDQrHctcTey/xtHdZQEn945KHwccKp9Q=" }
{ "Liquidator", "8rvSsUGeyXXdDQrHctcTey/xtHdZQEn945KHwccKp9Q=" },
{ "ElenPay", "2otDr3IrdARnarQZU8RO0ImQko6CDICyLmGUflKUQWA=" }
};

var existingTokens = applicationDbContext.ApiTokens.Where(token => authenticatedServices.Keys.Contains(token.Name)).ToList();
Expand Down

0 comments on commit 4e02c0f

Please sign in to comment.