Skip to content
Snippets Groups Projects
Commit 5bcc5a02 authored by Alexey Lunin's avatar Alexey Lunin
Browse files

fix nats monitoring port

parent a9bef78b
Branches didgram
No related tags found
1 merge request!20Didgram
Pipeline #63155 failed with stage
in 1 minute and 4 seconds
......@@ -27,6 +27,7 @@ const generateAgent = (agentNum) => {
const connectionManagerPort = startPort++;
const attestationManagerPort = startPort++;
const proofManagerPort = startPort++;
const natsMonitoringPort = startPort++;
const envContent = `LEDGERS=IDUNION
IDUNION_KEY=${IDUNION_KEY}
......@@ -179,7 +180,7 @@ PROOF_SERVICE_HOST=pm-${genericName}
image: 'nats:latest'
ports:
- '4222' #Nats server port
- '8222:8222' #Nats server Monitoring port
- '${natsMonitoringPort}:8222' #Nats server Monitoring port
volumes:
- ./data/${genericName}/nats/:/data/
`;
......@@ -235,3 +236,4 @@ ${dockerServices.join('\n')}
`;
fs.writeFileSync(`./docker-compose-gen.yml`, dockerContent);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment