diff --git a/Dockerfile b/Dockerfile index 8281d5f..e532ecb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -67,6 +67,6 @@ COPY --from=builder /optimum-gateway/LICENSE /optimum-gateway/NOTICE /optimum-ga # USER gateway -EXPOSE 33212 33213 48123 +EXPOSE 33212/tcp 33213/udp 48123/tcp ENTRYPOINT ["/optimum-gateway"] diff --git a/docker-compose-local.yml b/docker-compose-local.yml index 1b630fc..19eb611 100644 --- a/docker-compose-local.yml +++ b/docker-compose-local.yml @@ -9,9 +9,9 @@ services: networks: - gateway_cluster ports: - - "33212:33212" - - "33213:33213" - - "48123:48123" + - "33212:33212/tcp" + - "33213:33213/udp" + - "48123:48123/tcp" volumes: - "./config:/app/config:ro" - "./mump2p/data/mump2p/:/tmp/mump2p" diff --git a/docker-compose-sidecar.yml b/docker-compose-sidecar.yml index a38c16a..d80ab9d 100644 --- a/docker-compose-sidecar.yml +++ b/docker-compose-sidecar.yml @@ -52,9 +52,9 @@ services: networks: - mump2p_cluster ports: - - "33212:33212" # libp2p port - - "33213:33213" # opt port - - "48123:48123" # telemetry + API + - "33212:33212/tcp" # libp2p + - "33213:33213/udp" # mump2p QUIC + - "48123:48123/tcp" # telemetry + API volumes: - "./config:/app/config:ro" - "./mump2p/data/mump2p/:/tmp/mump2p" # identity_mump2p_dir in app_conf.yml must match container path diff --git a/integration/ethereum/docker-compose.yml b/integration/ethereum/docker-compose.yml index a8f81b2..45a0c6d 100644 --- a/integration/ethereum/docker-compose.yml +++ b/integration/ethereum/docker-compose.yml @@ -9,9 +9,9 @@ services: restart: unless-stopped profiles: ["lite", "full", "geth", "nethermind", "teku", "prysm", "lighthouse", "nimbus", "lodestar"] ports: - - "33212:33212" # libp2p port (CL clients connect here) - - "43213:43213" # mump2p agent port - - "48123:48123" # Telemetry/metrics port + - "33212:33212/tcp" # libp2p (CL clients connect here) + - "43213:43213/udp" # mump2p QUIC + - "48123:48123/tcp" # telemetry/metrics volumes: - ./config:/app/config # Config directory (must contain app_conf.yml) - ./identity/libp2p:/tmp/libp2p # Persistent libp2p identity