Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merge] Merge develop into sdp-multitenant #190

Merged
merged 50 commits into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
25b616e
Merge pull request #74 from stellar/release/1.0.0
marwen-abid Oct 19, 2023
b279c36
[SDP-960] serve/httphandler: API endpoint to fetch the verification t…
ceciliaromao Nov 28, 2023
a665505
[SDP-961] Change `POST /disbursements` to accept Verification Type (#…
ziyliu Nov 28, 2023
7df3634
[SDP-974] data/httphandler/validators: Adding sorting to GET /users e…
ceciliaromao Nov 29, 2023
36ed4b5
docker-compose.yml refactor (#114)
steven-tomlinson Dec 7, 2023
9419210
[SDP-1008] Add missing space when building the query (#121)
marcelosalloum Dec 12, 2023
9424bf7
[SDP-996] Make `POST /assets` idempotent (#122)
marcelosalloum Dec 12, 2023
d208a08
Hotfix/improve error logs for debugging (#125)
marcelosalloum Dec 13, 2023
67c4af6
[SDP-1022] Hotfix: update Vibrant Assist's `client_domain` (#126)
marcelosalloum Dec 15, 2023
a37fba0
[SDP-962] Change SEP-24 Flow to display different verifications based…
ziyliu Dec 16, 2023
c26c2f5
Release 1.0.1 to develop (#129)
marcelosalloum Dec 16, 2023
e308c77
[SDP-1025]: New endpoint to cancel individual payment in ready status…
ceciliaromao Dec 22, 2023
f67740d
Change to Circle USDC. (#132)
marwen-abid Dec 22, 2023
1d0b6fa
[SDP-971] Protocol 20 Horizon SDK upgrade (#107)
ziyliu Dec 22, 2023
84349b2
[SDP-1023] Add unique payment ID to disbursement instructions file as…
ziyliu Jan 2, 2024
68032ad
[SDP-1031] Coinspect SDP-012 Enhance User Awareness for SMS One-Time …
ziyliu Jan 5, 2024
bf66812
cmd/httphandler: log user activity when updating user info (#139)
CaioTeixeira95 Jan 8, 2024
97b86e0
[SDP-1033] Coinspect SDP-006 Weak password policy (#143)
ziyliu Jan 10, 2024
fe3e148
[SDP-1011] add user permission for the business role for receiver det…
ziyliu Jan 10, 2024
ce0d6a8
[SDP-1032] Add logs for any changes in user profile or the organizati…
marcelosalloum Jan 12, 2024
fbcbbce
[Fix] make password length generation + encryption be consistent with…
ziyliu Jan 12, 2024
9f857c7
[SDP-1012]: Add SMS preview & editing before sending a new disburseme…
ceciliaromao Jan 18, 2024
0236e35
[SDP-1032] Add "Secure Operation Manual" section and updated the code…
marcelosalloum Jan 18, 2024
753a34e
[SDP-1014] Preload reCAPTCHA script in attempt to mitigate component …
ziyliu Jan 22, 2024
20251d9
[SDP-1041] add users that created and started a disbursement in disbu…
ziyliu Jan 25, 2024
a504596
[SDP-853] Use CI to m sure the helm README is up to date (#164)
marcelosalloum Jan 30, 2024
3c0db9e
Chore: Update CI `check` to run the exhaustive validator (#163)
marcelosalloum Jan 30, 2024
1145529
[SDP-1049] Validate the Distribution account balance before starting …
ziyliu Jan 31, 2024
f41b169
bump ver
ziyliu Jan 25, 2024
577f990
changelog
ziyliu Jan 25, 2024
543bfa6
add unreleased
ziyliu Jan 25, 2024
0e859f2
change to 1.1.0
ziyliu Jan 25, 2024
38ed911
whitespace
ziyliu Jan 25, 2024
6976323
changelog
ziyliu Jan 31, 2024
ed5047a
typo
ziyliu Feb 1, 2024
43644d6
Sync main into develop (#169)
marcelosalloum Feb 1, 2024
a8ebd65
Merge branch 'main' into release/1.1.0
ziyliu Feb 1, 2024
e12d7db
Merge pull request #157 from stellar/release/1.1.0
ziyliu Feb 1, 2024
048a804
Merge branch 'develop' into release/1.1.0
ziyliu Feb 1, 2024
6fa3c92
Merge pull request #170 from stellar/release/1.1.0
ziyliu Feb 1, 2024
b2b7a88
[Hot-fix] TSS amount precision (#176)
marcelosalloum Feb 6, 2024
34ee7d5
Merge pull request #177 from stellar/hot-fix/tss-amount-precision-dev…
marcelosalloum Feb 6, 2024
c01b50e
Attempt to fix intermittent error in `transactionsubmission/utils/uti…
marcelosalloum Feb 5, 2024
50929a2
Add missing recaptcha script.
marcelosalloum Feb 6, 2024
1038d1a
Hot-fix: re-add missing recaptcha script to HTML template in the SEP2…
marcelosalloum Feb 6, 2024
aea8191
Hot-fix: re-add missing recaptcha script to HTML template in the SEP2…
marcelosalloum Feb 6, 2024
8ce5da8
Chore: attempt to fix intermittent error in `transactionsubmission/ut…
marcelosalloum Feb 6, 2024
cf6583f
Merge pull request #180 from main branch (stellar/hot-fix/sep24-recap…
marcelosalloum Feb 6, 2024
e5d71ed
Merge branch 'develop' into sdp-multitenant
marwen-abid Feb 10, 2024
51669d9
Polishes
marcelosalloum Feb 12, 2024
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
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

#### PR Structure

* [ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
* [ ] This PR has a reasonably narrow scope (if not, break it down into smaller PRs).
* [ ] This PR title and description are clear enough for anyone to review it.
* [ ] This PR does not mix refactoring changes with feature changes (split into two PRs otherwise).
* [ ] This PR's title starts with the name of the package, area, or subject affected by the change.

#### Thoroughness

Expand Down
36 changes: 35 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,40 @@ jobs:
- name: Run ./gomod.sh
run: ./gomod.sh

- name: Install github.com/nishanths/exhaustive
run: go install github.com/nishanths/exhaustive/cmd/exhaustive@latest

- name: Run exhaustive
run: exhaustive -default-signifies-exhaustive ./...

check-helm-readme:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install NodeJs
uses: actions/setup-node@v2
with:
node-version: 14

- name: Install Helm Readme Generator (@bitnami/readme-generator-for-helm)
run: npm install -g @bitnami/readme-generator-for-helm

- name: Generate README.md for comparison
run: readme-generator -v helmchart/sdp/values.yaml -r helmchart/sdp/README.md

- name: Check if helmchart/sdp/README.md is in sync with helmchart/sdp/values.yaml
run: |
if git diff --exit-code --stat helmchart/sdp/README.md; then
echo "✅ helmchart/sdp/README.md is in sync with helmchart/sdp/values.yaml"
else
echo "🚨 helmchart/sdp/README.md needs to be re-generated!"
echo "Run 'readme-generator -v helmchart/sdp/values.yaml -r helmchart/sdp/README.md' locally and commit the changes."
echo "Refer to https://github.com/bitnami/readme-generator-for-helm for more information."
exit 1
fi
build:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -110,7 +144,7 @@ jobs:
complete:
if: always()
needs: [check, build, test]
needs: [check, check-helm-readme, build, test]
runs-on: ubuntu-latest
steps:
- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
Expand Down
63 changes: 62 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,68 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## Unreleased

> Place unreleased changes here.
None

## [1.1.2](https://github.com/stellar/stellar-disbursement-platform-backend/compare/1.1.1...1.1.2)

### Fixed

- Re-add missing recaptcha script [#179](https://github.com/stellar/stellar-disbursement-platform-backend/pull/179)

## [1.1.1](https://github.com/stellar/stellar-disbursement-platform-backend/compare/1.1.0...1.1.1)

### Fixed

- TSS amount precision [#176](https://github.com/stellar/stellar-disbursement-platform-backend/pull/176)

## [1.1.0](https://github.com/stellar/stellar-disbursement-platform-backend/compare/1.0.1...1.1.0)

### Changed

- Change `POST /disbursements` to accept different verification types [#103](https://github.com/stellar/stellar-disbursement-platform-backend/pull/103)
- Change `SEP-24` Flow to display different verifications based on disbursement verification type [#116](https://github.com/stellar/stellar-disbursement-platform-backend/pull/116)
- Add sorting to `GET /users` endpoint [#104](https://github.com/stellar/stellar-disbursement-platform-backend/pull/104)
- Change read permission for receiver details to include business roles [#144](https://github.com/stellar/stellar-disbursement-platform-backend/pull/144)
- Add support for unique payment ID to disbursement instructions file as an optional field in `GET /payments/{id}` [#131](https://github.com/stellar/stellar-disbursement-platform-backend/pull/131)
- Add support for SMS preview & editing before sending a new disbursement [#146](https://github.com/stellar/stellar-disbursement-platform-backend/pull/146)
- Add metadata for users that created and started a disbursement in disbursement details `GET /disbursements`, `GET /disbursements/{id}` [#151](https://github.com/stellar/stellar-disbursement-platform-backend/pull/151)
- Update CI check to run the exhaustive validator [#163](https://github.com/stellar/stellar-disbursement-platform-backend/pull/163)
- Preload reCAPTCHA script in attempt to mitigate component loading issues upon login [#152](https://github.com/stellar/stellar-disbursement-platform-backend/pull/152)
- Validate distribution account balance before starting disbursement [#161](https://github.com/stellar/stellar-disbursement-platform-backend/pull/161)

### Added

- Support automatic cancellation of payments in `READY` status after a certain time period [#121](https://github.com/stellar/stellar-disbursement-platform-backend/pull/121)
- API endpoint for cancelling payments in `READY` status: `PATCH /payments/{id}/status` [#130](https://github.com/stellar/stellar-disbursement-platform-backend/pull/130)
- Use CI to make sure the helm README is up to date [#164](https://github.com/stellar/stellar-disbursement-platform-backend/pull/164)

### Fixed

- Verification DOB validation missing when date is in the future [#101](https://github.com/stellar/stellar-disbursement-platform-backend/pull/101)
- Support disbursements from two or more wallet providers to the same address [#87](https://github.com/stellar/stellar-disbursement-platform-backend/pull/87)
- [TSS] Stale channel account not cleared after switching distribution keys [#91](https://github.com/stellar/stellar-disbursement-platform-backend/pull/91)
- Make setup-wallets-for-network tests more flexible [#95](https://github.com/stellar/stellar-disbursement-platform-backend/pull/95)
- Make `POST /assets` idempotent [#122](https://github.com/stellar/stellar-disbursement-platform-backend/pull/122)
- Add missing space when building query [#121](https://github.com/stellar/stellar-disbursement-platform-backend/pull/121)

### Security

- Stellar Protocol 20 Horizon SDK upgrade [#107](https://github.com/stellar/stellar-disbursement-platform-backend/pull/107)
- Coinspect Issues:
- Add "Secure Operation Manual" section and updated the code to enforce MFA and reCAPTCHA [#150](https://github.com/stellar/stellar-disbursement-platform-backend/pull/150)
- Coinspect SDP-006 Weak password policy [#143](https://github.com/stellar/stellar-disbursement-platform-backend/pull/143)
- Coinspect SDP-007: Log user activity when updating user info [#139](https://github.com/stellar/stellar-disbursement-platform-backend/pull/139)
- Coinspect SDP-012 Enhance User Awareness for SMS One-Time Password (OTP) Usage [#138](https://github.com/stellar/stellar-disbursement-platform-backend/pull/138)

## [1.0.1](https://github.com/stellar/stellar-disbursement-platform-backend/compare/1.0.0...1.0.1)

### Changed

- Update log message for better debugging. [#125](https://github.com/stellar/stellar-disbursement-platform-backend/pull/125)

### Fixed

- Fix client_domain from the Viobrant Assist wallet. [#126](https://github.com/stellar/stellar-disbursement-platform-backend/pull/126)

## [1.0.0](https://github.com/stellar/stellar-disbursement-platform-backend/compare/1.0.0-rc2...1.0.0)

Expand Down
42 changes: 42 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,48 @@ stellar-disbursement-platform --help

To quickly test the SDP using preconfigured values, see the [Quick Start Guide](./dev/README.md).

## Secure Operation Manual

This manual outlines the security measures implemented in the Stellar Disbursement Platform (SDP) to protect the integrity of the platform and its users. By adhering to these guidelines, you can ensure that your use of the SDP is as secure as possible.

Security is a critical aspect of the SDP. The measures outlined in this document are designed to mitigate risks and enhance the security of the platform. Users are strongly encouraged to follow these guidelines to protect their accounts and operations.

### Implementation of reCAPTCHA

Google's reCAPTCHA has been integrated into the SDP to prevent automated attacks and ensure that interactions are performed by humans, not bots.

ReCAPTCHA is enabled by default and can be disabled in the development environment by setting the `DISABLE_RECAPTCHA` environment variable to `true`.

**Note:** Disabling reCAPTCHA is not supported for production environments due to security risks.

### Enforcement of Multi-Factor Authentication

Multi-Factor Authentication (MFA) provides an additional layer of security to user accounts. It is enforced by default on the SDP and it relies on OTPs sent to the account's email.

MFA is enabled by default and can be disabled in the development environment by setting the `DISABLE_MFA` environment variable to `true`.

**Note:** Disabling MFA is not supported for production environments due to security risks.

### Best Practices for Wallet Management

The SDP wallet should be used primarily as a hot wallet with a limited amount of funds to minimize potential losses.

#### Hot and Cold Wallets

- A hot wallet is connected to the internet and allows for quick transactions.
- A cold wallet is offline and used for storing funds securely.
- Learn more about these concepts at [Investopedia](https://www.investopedia.com/hot-wallet-vs-cold-wallet-7098461).

### Distribution of Disbursement Responsibilities

To enhance security, disbursement responsibilities should be distributed among multiple financial controller users.

#### Recommended Configuration

1. **Approval Flow**: Enable the approval flow on the organization page to require two users for the disbursement process. The owner can do that at *Profile > Organization > ... > Edit details > Approval flow > Confirm*.
2. **Financial Controller Role**: Create two users with the *Financial Controller* role on the organization page to enforce separation of duties. The owner can do hat at *Settings > Team Members*.
3. **Owner Account Management**: Use the Owner account solely for user management and organization configuration. Avoid using the Owner account for financial controller tasks to minimize the exposure of that account.

## Architecture

![high_level_architecture](./docs/images/high_level_architecture.png)
Expand Down
12 changes: 6 additions & 6 deletions cmd/db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ func Test_DatabaseCommand_db_setup_for_network(t *testing.T) {
}
assert.Equal(t, "Vibrant Assist", vibrantAssist.Name)
assert.Equal(t, "https://vibrantapp.com/vibrant-assist", vibrantAssist.Homepage)
assert.Equal(t, "api.vibrantapp.com", vibrantAssist.SEP10ClientDomain)
assert.Equal(t, "vibrantapp.com", vibrantAssist.SEP10ClientDomain)
assert.Equal(t, "https://vibrantapp.com/sdp", vibrantAssist.DeepLinkSchema)

assert.Equal(t, "Vibrant Assist RC", vibrantAssistRC.Name)
Expand All @@ -554,7 +554,7 @@ func Test_DatabaseCommand_db_setup_for_network(t *testing.T) {
"Name: Vibrant Assist",
"Homepage: https://vibrantapp.com/vibrant-assist",
"Deep Link Schema: https://vibrantapp.com/sdp",
"SEP-10 Client Domain: api.vibrantapp.com",
"SEP-10 Client Domain: vibrantapp.com",
}

logs := buf.String()
Expand Down Expand Up @@ -595,7 +595,7 @@ func Test_DatabaseCommand_db_setup_for_network(t *testing.T) {
// Test the two wallets
assert.Equal(t, "Vibrant Assist", vibrantAssist.Name)
assert.Equal(t, "https://vibrantapp.com/vibrant-assist", vibrantAssist.Homepage)
assert.Equal(t, "api.vibrantapp.com", vibrantAssist.SEP10ClientDomain)
assert.Equal(t, "vibrantapp.com", vibrantAssist.SEP10ClientDomain)
assert.Equal(t, "https://vibrantapp.com/sdp", vibrantAssist.DeepLinkSchema)

assert.Equal(t, "Vibrant Assist RC", vibrantAssistRC.Name)
Expand All @@ -614,7 +614,7 @@ func Test_DatabaseCommand_db_setup_for_network(t *testing.T) {
"Name: Vibrant Assist",
"Homepage: https://vibrantapp.com/vibrant-assist",
"Deep Link Schema: https://vibrantapp.com/sdp",
"SEP-10 Client Domain: api.vibrantapp.com",
"SEP-10 Client Domain: vibrantapp.com",
}

for _, expectedLog := range expectedLogs {
Expand Down Expand Up @@ -697,7 +697,7 @@ func Test_DatabaseCommand_db_setup_for_network(t *testing.T) {
}
assert.Equal(t, "Vibrant Assist", vibrantAssist.Name)
assert.Equal(t, "https://vibrantapp.com/vibrant-assist", vibrantAssist.Homepage)
assert.Equal(t, "api.vibrantapp.com", vibrantAssist.SEP10ClientDomain)
assert.Equal(t, "vibrantapp.com", vibrantAssist.SEP10ClientDomain)
assert.Equal(t, "https://vibrantapp.com/sdp", vibrantAssist.DeepLinkSchema)

assert.Equal(t, "Vibrant Assist RC", vibrantAssistRC.Name)
Expand All @@ -716,7 +716,7 @@ func Test_DatabaseCommand_db_setup_for_network(t *testing.T) {
"Name: Vibrant Assist",
"Homepage: https://vibrantapp.com/vibrant-assist",
"Deep Link Schema: https://vibrantapp.com/sdp",
"SEP-10 Client Domain: api.vibrantapp.com",
"SEP-10 Client Domain: vibrantapp.com",
}

for _, expectedLog := range expectedLogs {
Expand Down
16 changes: 16 additions & 0 deletions cmd/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,22 @@ func (c *ServeCommand) Command(serverService ServerServiceInterface, monitorServ
CustomSetValue: cmdUtils.SetConfigOptionURLString,
Required: true,
},
{
Name: "disable-mfa",
Usage: "Disables the email Multi-Factor Authentication (MFA).",
OptType: types.Bool,
ConfigKey: &serveOpts.DisableMFA,
FlagDefault: false,
Required: false,
},
{
Name: "disable-recaptcha",
Usage: "Disables ReCAPTCHA for login and forgot password.",
OptType: types.Bool,
ConfigKey: &serveOpts.DisableReCAPTCHA,
FlagDefault: false,
Required: false,
},
{
Name: "enable-scheduler",
Usage: "Enable Scheduler for SDP Backend Jobs",
Expand Down
5 changes: 5 additions & 0 deletions cmd/serve_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package cmd
import (
"bytes"
"context"
"fmt"
"sync"
"testing"

Expand Down Expand Up @@ -149,6 +150,8 @@ func Test_serve(t *testing.T) {
DistributionPublicKey: "GBC2HVWFIFN7WJHFORVBCDKJORG6LWTW3O2QBHOURL3KHZPM4KMWTUSA",
ReCAPTCHASiteKey: "reCAPTCHASiteKey",
ReCAPTCHASiteSecretKey: "reCAPTCHASiteSecretKey",
DisableMFA: false,
DisableReCAPTCHA: false,
EnableScheduler: true,
EnableMultiTenantDB: false,
SubmitterEngine: submitterEngine,
Expand Down Expand Up @@ -254,6 +257,8 @@ func Test_serve(t *testing.T) {
t.Setenv("ANCHOR_PLATFORM_BASE_PLATFORM_URL", serveOpts.AnchorPlatformBasePlatformURL)
t.Setenv("ANCHOR_PLATFORM_OUTGOING_JWT_SECRET", serveOpts.AnchorPlatformOutgoingJWTSecret)
t.Setenv("DISTRIBUTION_PUBLIC_KEY", serveOpts.DistributionPublicKey)
t.Setenv("DISABLE_MFA", fmt.Sprintf("%t", serveOpts.DisableMFA))
t.Setenv("DISABLE_RECAPTCHA", fmt.Sprintf("%t", serveOpts.DisableMFA))
t.Setenv("DISTRIBUTION_SEED", distributionSeed)
t.Setenv("BASE_URL", serveOpts.BaseURL)
t.Setenv("RECAPTCHA_SITE_KEY", serveOpts.ReCAPTCHASiteKey)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ALTER TABLE submitter_transactions
ADD COLUMN xdr_received TEXT UNIQUE,
ALTER COLUMN external_id SET NOT NULL,
ALTER COLUMN status SET DEFAULT 'PENDING',
ALTER COLUMN amount TYPE numeric(10,7),
ALTER COLUMN amount TYPE NUMERIC(19,7),
ADD CONSTRAINT unique_stellar_transaction_hash UNIQUE (stellar_transaction_hash),
ADD CONSTRAINT check_retry_count CHECK (retry_count >= 0);

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-- +migrate Up

ALTER TABLE payments
ADD COLUMN external_payment_id VARCHAR(64) NULL;

-- +migrate Down

ALTER TABLE payments
DROP COLUMN external_payment_id;
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-- +migrate Up
ALTER TABLE
disbursements
ADD
COLUMN sms_registration_message_template TEXT NULL;

-- +migrate Down
ALTER TABLE
disbursements DROP COLUMN sms_registration_message_template;
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
-- +migrate Up

ALTER TABLE submitter_transactions
ALTER COLUMN amount TYPE NUMERIC(19,7);

-- +migrate Down
3 changes: 0 additions & 3 deletions dev/docker-compose-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,3 @@ services:
- "3000:80"
volumes:
- ./env-config.js:/usr/share/nginx/html/settings/env-config.js
depends_on:
- db
- sdp-api
9 changes: 3 additions & 6 deletions dev/docker-compose-sdp-anchor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ services:
DISTRIBUTION_SEED: ${DISTRIBUTION_SEED}
CHANNEL_ACCOUNT_ENCRYPTION_PASSPHRASE: ${CHANNEL_ACCOUNT_ENCRYPTION_PASSPHRASE}
RECAPTCHA_SITE_KEY: 6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
DISABLE_MFA: "true"
DISABLE_RECAPTCHA: "true"
CORS_ALLOWED_ORIGINS: "*"


Expand Down Expand Up @@ -77,9 +79,6 @@ services:
./stellar-disbursement-platform db sdp migrate up --all
./stellar-disbursement-platform db setup-for-network --all
./stellar-disbursement-platform serve
depends_on:
- db
- kafka
db-anchor-platform:
container_name: anchor-platform-postgres-db
Expand All @@ -102,8 +101,6 @@ services:
- "8080:8080" # sep-server
- "8085:8085" # platform-server
- "8082:8082" # metrics
depends_on:
- db-anchor-platform
environment:
HOST_URL: http://localhost:8080
SEP_SERVER_PORT: 8080
Expand All @@ -119,7 +116,7 @@ services:
METRICS_ENABLED: "false" # Metrics would be available at port 8082
METRICS_EXTRAS_ENABLED: "false"
SEP10_ENABLED: "true"
SEP10_HOME_DOMAINS: "localhost:8000" # Comma separated list of home domains
SEP10_HOME_DOMAINS: "localhost:8000, *.stellar.local" # Comma separated list of home domains
SEP10_HOME_DOMAIN: ""
SEP10_WEB_AUTH_DOMAIN: "localhost:8080"
# SEP10_CLIENT_ATTRIBUTION_REQUIRED: true # RECOMMENDED
Expand Down
4 changes: 0 additions & 4 deletions dev/docker-compose-tss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ services:
BROKER_URLS: "kafka:9092"
CONSUMER_GROUP_ID: "group-id"
KAFKA_SECURITY_PROTOCOL: "PLAINTEXT"
depends_on:
- db
- sdp-api
- kafka
entrypoint: ""
command:
- sh
Expand Down
Loading
Loading