Skip to content

Commit

Permalink
fix: log kapi config
Browse files Browse the repository at this point in the history
  • Loading branch information
Amuhar committed Dec 6, 2024
1 parent 7f8416e commit 0d66a30
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions test/helpers/docker-containers/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,25 @@ async function pullAndCreateKapiContainer(docker: Docker) {
const exposedHosts =
process.platform === 'linux' ? {} : { ExposedPorts: { '3000/tcp': {} } };

console.log({
Image: KAPI_IMAGE,
name: KAPI_CONTAINER,
Env: [
'NODE_ENV=production',
'DB_NAME=node_operator_keys_service_db',
'DB_PORT=5432',
`DB_HOST=${DB_HOST}`,
'DB_USER=postgres',
'DB_PASSWORD=postgres',
`PROVIDERS_URLS=${HARDHAT_URL}`,
'VALIDATOR_REGISTRY_ENABLE=false',
`CHAIN_ID=${CHAIN_ID}`,
'CL_API_URLS=',
],
...exposedHosts,
HostConfig: hostConfig,
});

// Create and configure the PostgreSQL container
const container = await docker.createContainer({
Image: KAPI_IMAGE,
Expand Down

0 comments on commit 0d66a30

Please sign in to comment.