diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index c1e02b2b..cb64eff6 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -22,15 +22,15 @@ 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" @@ -38,8 +38,8 @@ services: 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 @@ -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: diff --git a/src/Data/DbInitializer.cs b/src/Data/DbInitializer.cs index 473f6d2c..dfc8a88f 100644 --- a/src/Data/DbInitializer.cs +++ b/src/Data/DbInitializer.cs @@ -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();