Merge pull request 'address-book-#16' (#25) from address-book-#16 into main
Some checks failed
ci/woodpecker/push/nats Pipeline is pending
ci/woodpecker/push/notification Pipeline is pending
ci/woodpecker/push/payments_orchestrator Pipeline is pending
ci/woodpecker/push/billing_fees Pipeline was successful
ci/woodpecker/push/bff Pipeline was successful
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/frontend Pipeline failed
ci/woodpecker/push/fx_ingestor Pipeline failed
ci/woodpecker/push/fx_oracle Pipeline failed
ci/woodpecker/push/ledger Pipeline failed
ci/woodpecker/push/mntx_gateway Pipeline failed
ci/woodpecker/push/chain_gateway Pipeline failed

Reviewed-on: #25
This commit was merged in pull request #25.
This commit is contained in:
2025-12-05 04:51:04 +00:00
4 changed files with 5 additions and 5 deletions

View File

@@ -163,7 +163,7 @@ func (i *Imp) loadConfig() (*config, error) {
}
if cfg.Metrics == nil {
cfg.Metrics = &grpcapp.MetricsConfig{Address: ":9404"}
cfg.Metrics = &grpcapp.MetricsConfig{Address: ":9405"}
}
return cfg, nil

View File

@@ -31,7 +31,7 @@ services:
- "0.0.0.0:${FRONTEND_HTTP_PORT}:80"
- "0.0.0.0:${FRONTEND_HTTPS_PORT}:443"
healthcheck:
test: ["CMD-SHELL","curl -sf http://localhost:80/ >/dev/null"]
test: ["CMD", "curl", "-f", "http://localhost:2019/config"]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -37,6 +37,6 @@ COPY api/gateway/mntx/config.yml /app/config.yml
COPY api/gateway/mntx/entrypoint.sh /app/entrypoint.sh
COPY --from=build /out/mntx-gateway /app/mntx-gateway
RUN chmod +x /app/entrypoint.sh
EXPOSE 50075 9404 8084
EXPOSE 50075 9405 8084
ENTRYPOINT ["/app/entrypoint.sh"]
CMD ["/app/mntx-gateway","--config.file","/app/config.yml"]

View File

@@ -28,10 +28,10 @@ services:
command: ["--config.file", "/app/config.yml"]
ports:
- "0.0.0.0:${MNTX_GATEWAY_GRPC_PORT:-50075}:50075"
- "0.0.0.0:${MNTX_GATEWAY_METRICS_PORT:-9404}:9404"
- "0.0.0.0:${MNTX_GATEWAY_METRICS_PORT:-9405}:9405"
- "0.0.0.0:${MNTX_GATEWAY_HTTP_PORT:-8084}:8084"
healthcheck:
test: ["CMD-SHELL","wget -qO- http://localhost:9404/health | grep -q '\"status\":\"ok\"'"]
test: ["CMD-SHELL","wget -qO- http://localhost:9405/health | grep -q '\"status\":\"ok\"'"]
interval: 30s
timeout: 10s
retries: 3