Skip to content

Commit

Permalink
fix: add network to db
Browse files Browse the repository at this point in the history
  • Loading branch information
Amuhar committed Dec 24, 2024
1 parent eb3ac78 commit dc5ec12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docker-compose.devnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ services:
db:
image: postgres:16-alpine
restart: unless-stopped
networks:
- devnet
environment:
- POSTGRES_DB=${DB_NAME}
- POSTGRES_USER=${DB_USER}
Expand Down Expand Up @@ -43,6 +45,9 @@ services:
- VALIDATOR_REGISTRY_ENABLE=${VALIDATOR_REGISTRY_ENABLE}
- JOB_INTERVAL_VALIDATORS_REGISTRY=${JOB_INTERVAL_VALIDATORS_REGISTRY}
- LIDO_LOCATOR_DEVNET_ADDRESS=${LIDO_LOCATOR_DEVNET_ADDRESS}
- CURATED_MODULE_DEVNET_ADDRESS=${CURATED_MODULE_DEVNET_ADDRESS}
- CSM_MODULE_DEVNET_ADDRESS=${CSM_MODULE_DEVNET_ADDRESS}
- STAKING_ROUTER_DEVNET_ADDRESS=${STAKING_ROUTER_DEVNET_ADDRESS}
ports:
- '${PORT}:${PORT}'
depends_on:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { ConfigModule, ConfigService } from 'common/config';
LidoLocatorContractModule.forRootAsync({
inject: [ExecutionProvider, ConfigService],
async useFactory(provider, configService: ConfigService) {
console.log('address:', configService);
return { provider, address: configService.get('LIDO_LOCATOR_DEVNET_ADDRESS') };
},
}),
Expand Down

0 comments on commit dc5ec12

Please sign in to comment.