diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 811bcfa..9a215d9 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -366,6 +366,13 @@ jobs: SMTP_RELAY_HOST: ${{ vars.SMTP_RELAY_HOST }} SMTP_RELAY_PORT: ${{ vars.SMTP_RELAY_PORT }} SMTP_RELAY_TLS: ${{ vars.SMTP_RELAY_TLS }} + # Direct-rail (Robokassa) sandbox intake on the contour: the test shop's merchant login + + # Password1/Password2. IsTest is forced to 1 below so the contour can never take real money + # (independent of the shop's own mode). Empty login leaves the direct rail off. + ROBOKASSA_MERCHANT_LOGIN: ${{ secrets.TEST_BACKEND_ROBOKASSA_MERCHANT_LOGIN }} + ROBOKASSA_PASSWORD1: ${{ secrets.TEST_BACKEND_ROBOKASSA_PASSWORD1 }} + ROBOKASSA_PASSWORD2: ${{ secrets.TEST_BACKEND_ROBOKASSA_PASSWORD2 }} + ROBOKASSA_TEST: "1" SMTP_RELAY_FROM: ${{ vars.TEST_SMTP_RELAY_FROM }} # Operator alerts: backend admin emails (new feedback / complaints) + Grafana # infra alerts. Distinct senders + recipients; Grafana uses the relay's STARTTLS diff --git a/deploy/docker-compose.yml b/deploy/docker-compose.yml index 919fee2..024d719 100644 --- a/deploy/docker-compose.yml +++ b/deploy/docker-compose.yml @@ -161,6 +161,13 @@ services: # recipient(s) (comma-separated allowed). Both empty disables the alert worker. BACKEND_SMTP_ADMIN_FROM: ${SMTP_RELAY_ADMIN_FROM:-} BACKEND_ADMIN_EMAIL: ${ADMIN_EMAIL:-} + # Direct-rail (Robokassa) payment intake: the merchant login + Password1/Password2 and the + # test-mode flag (deploy env: TEST_/PROD_BACKEND_ROBOKASSA_*). An empty login leaves the + # direct order and Result-callback endpoints unregistered (the rail is off). + BACKEND_ROBOKASSA_MERCHANT_LOGIN: ${ROBOKASSA_MERCHANT_LOGIN:-} + BACKEND_ROBOKASSA_PASSWORD1: ${ROBOKASSA_PASSWORD1:-} + BACKEND_ROBOKASSA_PASSWORD2: ${ROBOKASSA_PASSWORD2:-} + BACKEND_ROBOKASSA_TEST: ${ROBOKASSA_TEST:-} # The dictionary lives on a named volume seeded from the image on first boot # (the image's /opt/dawg is owned by the nonroot UID, which the fresh volume # inherits). The admin console writes new version subdirectories here, and the