Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion local/rafiki.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ services:
- testnet
environment:
NODE_ENV: ${NODE_ENV:-development}
NODE_TLS_REJECT_UNAUTHORIZED: ${RAFIKI_BACKEND_NODE_TLS_REJECT_UNAUTHORIZED:-0}
LOG_LEVEL: ${LOG_LEVEL:-debug}
TRUST_PROXY: ${RAFIKI_BACKEND_TRUST_PROXY:-true}
ADMIN_PORT: ${RAFIKI_BACKEND_ADMIN_PORT:-3001}
Expand Down Expand Up @@ -112,6 +113,9 @@ services:
- redis
extra_hosts:
- host.docker.internal:host-gateway
- testnet.test:host-gateway
- rafiki-backend.testnet.test:host-gateway
- auth.testnet.test:host-gateway
labels:
- traefik.enable=true
- traefik.docker.network=testnet
Expand Down Expand Up @@ -142,7 +146,7 @@ services:
- testnet
environment:
PORT: ${RAFIKI_FRONTEND_PORT:-3012}
GRAPHQL_URL: ${RAFIKI_GRAPHQL_URL:-http://host.docker.internal:3001/graphql}
GRAPHQL_URL: ${RAFIKI_GRAPHQL_URL:-http://rafiki-backend:3001/graphql}
OPEN_PAYMENTS_URL: ${RAFIKI_FRONTEND_OPEN_PAYMENTS_URL:-https://rafiki-backend.testnet.test/}
ENABLE_INSECURE_MESSAGE_COOKIE: ${RAFIKI_FRONTEND_ENABLE_INSECURE_MESSAGE_COOKIE:-true}
AUTH_ENABLED: ${RAFIKI_FRONTEND_AUTH_ENABLED:-false}
Expand Down
2 changes: 1 addition & 1 deletion local/scripts/rafiki-setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function buildEnv() {
),
AUTH_IDENTITY_SERVER_SECRET: get(
'AUTH_IDENTITY_SERVER_SECRET',
'auth-secret-key-12345'
'dev_identity_server_secret'
),
IDP_CONSENT_URL: get(
'IDP_CONSENT_URL',
Expand Down
4 changes: 2 additions & 2 deletions packages/boutique/backend/src/open-payments/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,8 @@ export class OpenPayments implements IOpenPayments {
}
}
)
.catch(() => {
this.logger.error('Unable to create incoming payment.')
.catch((err) => {
this.logger.error('Unable to create incoming payment.', err)
throw new InternalServerError()
})
}
Expand Down
Loading