Config fix
Some checks failed
ci/woodpecker/push/billing_fees Pipeline was successful
ci/woodpecker/push/chain_gateway Pipeline is running
ci/woodpecker/push/bff Pipeline failed
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/frontend Pipeline is running
ci/woodpecker/push/ledger Pipeline is pending
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/fx_oracle Pipeline failed
ci/woodpecker/push/bump_version unknown status
ci/woodpecker/push/fx_ingestor Pipeline failed
Some checks failed
ci/woodpecker/push/billing_fees Pipeline was successful
ci/woodpecker/push/chain_gateway Pipeline is running
ci/woodpecker/push/bff Pipeline failed
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/frontend Pipeline is running
ci/woodpecker/push/ledger Pipeline is pending
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/fx_oracle Pipeline failed
ci/woodpecker/push/bump_version unknown status
ci/woodpecker/push/fx_ingestor Pipeline failed
This commit is contained in:
@@ -16,7 +16,6 @@ AMPLI_ENVIRONMENT=production
|
||||
API_PROTOCOL=https
|
||||
SERVICE_HOST=app.sendico.io
|
||||
API_ENDPOINT=/api/v1
|
||||
API_UPSTREAM=sendico-bff:8080
|
||||
WS_PROTOCOL=wss
|
||||
WS_ENDPOINT=/ws
|
||||
AMPLITUDE_SECRET=c3d75b3e2520d708440acbb16b923e79
|
||||
@@ -122,7 +121,7 @@ CADDY_ACME_EMAIL=infra@sendico.io
|
||||
BFF_DIR=bff
|
||||
BFF_COMPOSE_PROJECT=sendico-bff
|
||||
BFF_SERVICE_NAME=sendico_bff
|
||||
BFF_HTTP_PORT=8080
|
||||
BFF_HTTP_PORT=8081
|
||||
|
||||
# Chain gateway stack
|
||||
CHAIN_GATEWAY_DIR=chain_gateway
|
||||
|
||||
@@ -41,7 +41,7 @@ services:
|
||||
PERMISSION_TIMEOUT: ${PERMISSION_TIMEOUT}
|
||||
PERMISSION_IS_FILTERED: ${PERMISSION_IS_FILTERED}
|
||||
ports:
|
||||
- "0.0.0.0:${BFF_HTTP_PORT}:8080"
|
||||
- "0.0.0.0:${BFF_HTTP_PORT}:8081"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL","wget -qO- http://localhost:8081/api/v1/health | grep -q '\"status\":\"ok\"'"]
|
||||
interval: 30s
|
||||
|
||||
@@ -23,7 +23,6 @@ services:
|
||||
API_PROTOCOL: ${API_PROTOCOL}
|
||||
SERVICE_HOST: ${SERVICE_HOST}
|
||||
API_ENDPOINT: ${API_ENDPOINT}
|
||||
API_UPSTREAM: ${API_UPSTREAM}
|
||||
AMPLITUDE_SECRET: ${AMPLITUDE_SECRET}
|
||||
DEFAULT_LOCALE: ${DEFAULT_LOCALE}
|
||||
DEFAULT_CURRENCY: ${DEFAULT_CURRENCY}
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
# Backend API
|
||||
########################################
|
||||
handle /api/v1/* {
|
||||
# Allow overriding upstream via API_UPSTREAM, default to the BFF container.
|
||||
reverse_proxy {$API_UPSTREAM:sendico-bff:8081} {
|
||||
# Proxy directly to the BFF container on the Docker network.
|
||||
reverse_proxy sendico-bff:8081 {
|
||||
health_uri /api/v1/health
|
||||
health_interval 15s
|
||||
health_timeout 4s
|
||||
|
||||
Reference in New Issue
Block a user