Skip to content

Commit 3fa5e7b

Browse files
authored
chore: Add P2P to the docker example (#140)
<!--- Provide a general summary of your changes in the Title above --> ## Description <!--- Describe your changes in detail --> ## Related Issue Or Context <!--- If suggesting a new feature or change, please discuss it in an issue first --> <!--- If fixing a bug, there should be an issue describing it with steps to reproduce --> <!--- Otherwise, describe context and motivation for change herre --> Closes: #<issue> ## How Has This Been Tested? Testing details. <!--- Please describe in detail how you tested your changes. --> <!--- Include details of your testing environment, and the tests you ran to --> <!--- see how your change affects other areas of the code, etc. --> ## Types of changes <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation ## Checklist: <!--- Go over all the following points, and put an `x` in all the boxes that apply. --> <!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> - [ ] I have commented my code, particularly in hard-to-understand areas. - [ ] I have ensured that all acceptance criteria (or expected behavior) from issue are met - [ ] I have updated the documentation locally and in docs. - [ ] I have added tests to cover my changes. - [ ] I have ensured that all the checks are passing and green, I've signed the CLA bot
1 parent 841b1b0 commit 3fa5e7b

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

deploy/mpc-node/.env.template

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
SIGNING_IMAGE_VERSION=
22
SERVICE_NAME=
3-
HOST_PORT=3000
3+
API_PORT=3000
4+
P2P_PORT=9000

deploy/mpc-node/docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ services:
99
logging_jobname: "containerlogs"
1010
service_name: "${SERVICE_NAME}"
1111
ports:
12-
- "${HOST_PORT:-3000}:3000"
12+
- "${API_PORT:-3000}:3000"
13+
- "${P2P_PORT:-9000}:9000"
1314
restart: always

0 commit comments

Comments
 (0)