From f77a4a23e49f08867cb4dec2494ea2ddb3916049 Mon Sep 17 00:00:00 2001 From: Yury Hrytsuk <50014626+YuryHrytsuk@users.noreply.github.com> Date: Tue, 17 Oct 2023 13:49:08 +0200 Subject: [PATCH] Add new payments env (#392) * Add new payments env * Sort payments env --- services/simcore/template.env | 16 +++++++++------- services/traefik/docker-compose.public.yml | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/services/simcore/template.env b/services/simcore/template.env index b4a8cb94..6a82c1fc 100644 --- a/services/simcore/template.env +++ b/services/simcore/template.env @@ -293,19 +293,21 @@ WB_DB_EL_WALLETS=${WB_DB_EL_WALLETS} WB_DB_EL_INVITATIONS=${WB_DB_EL_INVITATIONS} WB_DB_EL_PAYMENTS=${WB_DB_EL_PAYMENTS} -PAYMENTS_FAKE_COMPLETION_DELAY_SEC=${PAYMENTS_FAKE_COMPLETION_DELAY_SEC} +PAYMENTS_ACCESS_TOKEN_EXPIRE_MINUTES=${PAYMENTS_ACCESS_TOKEN_EXPIRE_MINUTES} +PAYMENTS_ACCESS_TOKEN_SECRET_KEY=${PAYMENTS_ACCESS_TOKEN_SECRET_KEY} +PAYMENTS_AUTORECHARGE_DEFAULT_MIN_BALANCE=${PAYMENTS_AUTORECHARGE_DEFAULT_MIN_BALANCE} +PAYMENTS_AUTORECHARGE_DEFAULT_TOP_UP_AMOUNT=${PAYMENTS_AUTORECHARGE_DEFAULT_TOP_UP_AMOUNT} PAYMENTS_FAKE_COMPLETION=${PAYMENTS_FAKE_COMPLETION} +PAYMENTS_FAKE_COMPLETION_DELAY_SEC=${PAYMENTS_FAKE_COMPLETION_DELAY_SEC} +PAYMENTS_GATEWAY_API_KEY=PAYMENTS_GATEWAY_API_KEY=${PAYMENTS_GATEWAY_API_KEY} +PAYMENTS_GATEWAY_API_SECRET=${PAYMENTS_GATEWAY_API_SECRET} PAYMENTS_GATEWAY_URL=${PAYMENTS_GATEWAY_URL} PAYMENTS_HOST=${PAYMENTS_HOST} +PAYMENTS_LOGLEVEL=${PAYMENTS_LOGLEVEL} PAYMENTS_PASSWORD=${PAYMENTS_PASSWORD} PAYMENTS_PORT=${PAYMENTS_PORT} -PAYMENTS_USERNAME=${PAYMENTS_USERNAME} -PAYMENTS_ACCESS_TOKEN_EXPIRE_MINUTES=${PAYMENTS_ACCESS_TOKEN_EXPIRE_MINUTES} -PAYMENTS_ACCESS_TOKEN_SECRET_KEY=${PAYMENTS_ACCESS_TOKEN_SECRET_KEY} -PAYMENTS_GATEWAY_API_KEY=PAYMENTS_GATEWAY_API_KEY=${PAYMENTS_GATEWAY_API_KEY} -PAYMENTS_GATEWAY_API_SECRET=${PAYMENTS_GATEWAY_API_SECRET} PAYMENTS_SWAGGER_API_DOC_ENABLED=${PAYMENTS_SWAGGER_API_DOC_ENABLED} -PAYMENTS_LOGLEVEL=${PAYMENTS_LOGLEVEL} +PAYMENTS_USERNAME=${PAYMENTS_USERNAME} CLUSTERS_KEEPER_MAX_MISSED_HEARTBEATS_BEFORE_CLUSTER_TERMINATION=${CLUSTERS_KEEPER_MAX_MISSED_HEARTBEATS_BEFORE_CLUSTER_TERMINATION} CLUSTERS_KEEPER_TASK_INTERVAL=${CLUSTERS_KEEPER_TASK_INTERVAL} diff --git a/services/traefik/docker-compose.public.yml b/services/traefik/docker-compose.public.yml index 6ebb3078..027b7eac 100644 --- a/services/traefik/docker-compose.public.yml +++ b/services/traefik/docker-compose.public.yml @@ -30,7 +30,7 @@ services: - "--certificatesresolvers.myresolver.acme.dnschallenge.delaybeforecheck=120" - "--certificatesresolvers.myresolver.acme.storage=/letsencrypt/acme.json" # For debug purpose, to avoid being ban by let's encrypt servers - #- "--certificatesresolvers.myresolver.acme.caserver=https://acme-staging-v02.api.letsencrypt.org/directory" + #- "" - "--certificatesresolvers.myresolver.acme.dnschallenge.resolvers=${RFC2136_NAMESERVER}" volumes: - "letsencrypt_certs:/letsencrypt"