Update sample.yml config to pass `mvn verify`
This commit is contained in:
parent
26f876a2cb
commit
966d4e29d4
|
@ -1,59 +1,65 @@
|
||||||
|
# Example, relatively minimal, configuration that passes validation (see `io.dropwizard.cli.CheckCommand`)
|
||||||
|
#
|
||||||
|
# `unset` values will need to be set to work properly.
|
||||||
|
# Most other values are technically valid for a local/demonstration environment, but are probably not production-ready.
|
||||||
|
|
||||||
stripe:
|
stripe:
|
||||||
apiKey:
|
apiKey: unset
|
||||||
idempotencyKeyGenerator:
|
idempotencyKeyGenerator: abcdefg12345678= # base64 for creating request idempotency hash
|
||||||
|
|
||||||
dynamoDbClientConfiguration:
|
dynamoDbClientConfiguration:
|
||||||
region: # AWS Region
|
region: us-west-2 # AWS Region
|
||||||
|
|
||||||
dynamoDbTables:
|
dynamoDbTables:
|
||||||
issuedReceipts:
|
issuedReceipts:
|
||||||
tableName: # DDB Table Name
|
tableName: Example_IssuedReceipts
|
||||||
expiration: # Duration of time until rows expire
|
expiration: P30D # Duration of time until rows expire
|
||||||
generator: # random binary sequence
|
generator: abcdefg12345678= # random base64-encoded binary sequence
|
||||||
redeemedReceipts:
|
redeemedReceipts:
|
||||||
tableName: # DDB Table Name
|
tableName: Example_RedeemedReceipts
|
||||||
expiration: # Duration of time until rows expire
|
expiration: P30D # Duration of time until rows expire
|
||||||
subscriptions:
|
subscriptions:
|
||||||
tableName: # DDB Table Name
|
tableName: Example_Subscriptions
|
||||||
|
|
||||||
twilio: # Twilio gateway configuration
|
twilio: # Twilio gateway configuration
|
||||||
accountId:
|
accountId: unset
|
||||||
accountToken:
|
accountToken: unset
|
||||||
nanpaMessagingServiceSid: # Twilio SID for the messaging service to use for NANPA.
|
nanpaMessagingServiceSid: unset # Twilio SID for the messaging service to use for NANPA.
|
||||||
messagingServiceSid: # Twilio SID for the message service to use for non-NANPA.
|
messagingServiceSid: unset # Twilio SID for the message service to use for non-NANPA.
|
||||||
verifyServiceSid: # Twilio SID for a Verify service
|
verifyServiceSid: unset # Twilio SID for a Verify service
|
||||||
localDomain: # Domain Twilio can connect back to for calls. Should be domain of your service.
|
localDomain: example.com # Domain Twilio can connect back to for calls. Should be domain of your service.
|
||||||
defaultClientVerificationTexts:
|
defaultClientVerificationTexts:
|
||||||
ios: # Text to use for the verification message on iOS. Will be passed to String.format with the verification code as argument 1.
|
ios: example %1$s # Text to use for the verification message on iOS. Will be passed to String.format with the verification code as argument 1.
|
||||||
androidNg: # Text to use for the verification message on android-ng client types. Will be passed to String.format with the verification code as argument 1.
|
androidNg: example %1$s # Text to use for the verification message on android-ng client types. Will be passed to String.format with the verification code as argument 1.
|
||||||
android202001: # Text to use for the verification message on android-2020-01 client types. Will be passed to String.format with the verification code as argument 1.
|
android202001: example %1$s # Text to use for the verification message on android-2020-01 client types. Will be passed to String.format with the verification code as argument 1.
|
||||||
android202103: # Text to use for the verification message on android-2021-03 client types. Will be passed to String.format with the verification code as argument 1.
|
android202103: example %1$s # Text to use for the verification message on android-2021-03 client types. Will be passed to String.format with the verification code as argument 1.
|
||||||
generic: # Text to use when the client type is unrecognized. Will be passed to String.format with the verification code as argument 1.
|
generic: example %1$s # Text to use when the client type is unrecognized. Will be passed to String.format with the verification code as argument 1.
|
||||||
regionalClientVerificationTexts: # Map of country codes to custom texts
|
regionalClientVerificationTexts: # Map of country codes to custom texts
|
||||||
999: # example country code
|
999: # example country code
|
||||||
ios:
|
ios: example %1$s # all keys from defaultClientVerificationTexts are required
|
||||||
# … all keys from defaultClientVerificationTexts are required
|
androidNg: example %1$s
|
||||||
androidAppHash: # Hash appended to Android
|
android202001: example %1$s
|
||||||
verifyServiceFriendlyName: # Service name used in template. Requires Twilio account rep to enable
|
android202103: example %1$s
|
||||||
|
generic: example %1$s
|
||||||
|
androidAppHash: example # Hash appended to Android
|
||||||
|
verifyServiceFriendlyName: example # Service name used in template. Requires Twilio account rep to enable
|
||||||
|
|
||||||
push:
|
push:
|
||||||
queueSize: # Size of push pending queue
|
queueSize: 1000 # Size of push pending queue
|
||||||
|
|
||||||
turn: # TURN server configuration
|
turn: # TURN server configuration
|
||||||
secret: # TURN server secret
|
secret: example # TURN server secret
|
||||||
uris:
|
uris:
|
||||||
- stun:yourdomain:80
|
- stun:example.com:80
|
||||||
- stun:yourdomain.com:443
|
- stun:another.example.com:443
|
||||||
- turn:yourdomain:443?transport=udp
|
- turn:example.com:443?transport=udp
|
||||||
- turn:etc.com:80?transport=udp
|
- turn:ya.example.com:80?transport=udp
|
||||||
|
|
||||||
cacheCluster: # Redis server configuration for cache cluster
|
cacheCluster: # Redis server configuration for cache cluster
|
||||||
urls:
|
configurationUri: redis://redis.example.com:6379/
|
||||||
- redis://redis.example.com:6379/
|
|
||||||
|
|
||||||
clientPresenceCluster: # Redis server configuration for client presence cluster
|
clientPresenceCluster: # Redis server configuration for client presence cluster
|
||||||
urls:
|
configurationUri: redis://redis.example.com:6379/
|
||||||
- redis://redis.example.com:6379/
|
|
||||||
|
|
||||||
pubsub: # Redis server configuration for pubsub cluster
|
pubsub: # Redis server configuration for pubsub cluster
|
||||||
url: redis://redis.example.com:6379/
|
url: redis://redis.example.com:6379/
|
||||||
|
@ -61,152 +67,190 @@ pubsub: # Redis server configuration for pubsub cluster
|
||||||
- redis://redis.example.com:6379/
|
- redis://redis.example.com:6379/
|
||||||
|
|
||||||
pushSchedulerCluster: # Redis server configuration for push scheduler cluster
|
pushSchedulerCluster: # Redis server configuration for push scheduler cluster
|
||||||
urls:
|
configurationUri: redis://redis.example.com:6379/
|
||||||
- redis://redis.example.com:6379/
|
|
||||||
|
|
||||||
rateLimitersCluster: # Redis server configuration for rate limiters cluster
|
rateLimitersCluster: # Redis server configuration for rate limiters cluster
|
||||||
urls:
|
configurationUri: redis://redis.example.com:6379/
|
||||||
- redis://redis.example.com:6379/
|
|
||||||
|
|
||||||
directory:
|
directory:
|
||||||
client: # Configuration for interfacing with Contact Discovery Service cluster
|
client: # Configuration for interfacing with Contact Discovery Service cluster
|
||||||
userAuthenticationTokenSharedSecret: # hex-encoded secret shared with CDS used to generate auth tokens for Signal users
|
userAuthenticationTokenSharedSecret: 00000f # hex-encoded secret shared with CDS used to generate auth tokens for Signal users
|
||||||
userAuthenticationTokenUserIdSecret: # hex-encoded secret shared among Signal-Servers to obscure user phone numbers from CDS
|
userAuthenticationTokenUserIdSecret: 00000f # hex-encoded secret shared among Signal-Servers to obscure user phone numbers from CDS
|
||||||
sqs:
|
sqs:
|
||||||
accessKey: # AWS SQS accessKey
|
accessKey: test # AWS SQS accessKey
|
||||||
accessSecret: # AWS SQS accessSecret
|
accessSecret: test # AWS SQS accessSecret
|
||||||
queueUrls: # AWS SQS queue urls
|
queueUrls: # AWS SQS queue urls
|
||||||
- https://sqs.example.com/directory.fifo
|
- https://sqs.example.com/directory.fifo
|
||||||
server: # One or more CDS servers
|
server: # One or more CDS servers
|
||||||
- replicationName: # CDS replication name
|
- replicationName: example # CDS replication name
|
||||||
replicationUrl: # CDS replication endpoint base url
|
replicationUrl: cds.example.com # CDS replication endpoint base url
|
||||||
replicationPassword: # CDS replication endpoint password
|
replicationPassword: example # CDS replication endpoint password
|
||||||
replicationCaCertificate: # CDS replication endpoint TLS certificate trust root
|
replicationCaCertificate: | # CDS replication endpoint TLS certificate trust root
|
||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
AAAAAAAAAAAAAAAAAAAA
|
||||||
|
-----END CERTIFICATE-----
|
||||||
|
|
||||||
directoryV2:
|
directoryV2:
|
||||||
client: # Configuration for interfacing with Contact Discovery Service v2 cluster
|
client: # Configuration for interfacing with Contact Discovery Service v2 cluster
|
||||||
userAuthenticationTokenSharedSecret: # base64-encoded secret shared with CDS to generate auth tokens for Signal users
|
userAuthenticationTokenSharedSecret: abcdefghijklmnopqrstuvwxyz0123456789ABCDEFG= # base64-encoded secret shared with CDS to generate auth tokens for Signal users
|
||||||
|
|
||||||
messageCache: # Redis server configuration for message store cache
|
messageCache: # Redis server configuration for message store cache
|
||||||
persistDelayMinutes:
|
persistDelayMinutes: 1
|
||||||
|
|
||||||
cluster:
|
cluster:
|
||||||
urls:
|
configurationUri: redis://redis.example.com:6379/
|
||||||
- redis://redis.example.com:6379/
|
|
||||||
|
|
||||||
metricsCluster:
|
metricsCluster:
|
||||||
urls:
|
configurationUri: redis://redis.example.com:6379/
|
||||||
- redis://redis.example.com:6379/
|
|
||||||
|
|
||||||
messageDynamoDb: # DynamoDB table configuration
|
messageDynamoDb: # DynamoDB table configuration
|
||||||
region:
|
region: us-west-2
|
||||||
tableName:
|
tableName: Example_Messages
|
||||||
|
|
||||||
keysDynamoDb: # DynamoDB table configuration
|
keysDynamoDb: # DynamoDB table configuration
|
||||||
region:
|
region: us-west-2
|
||||||
tableName:
|
tableName: Example_PreKeys
|
||||||
|
|
||||||
accountsDynamoDb: # DynamoDB table configuration
|
accountsDynamoDb: # DynamoDB table configuration
|
||||||
region:
|
region: us-west-2
|
||||||
tableName:
|
tableName: Example_Accounts
|
||||||
phoneNumberTableName:
|
phoneNumberTableName: Example_Accounts_PhoneNumbers
|
||||||
|
phoneNumberIdentifierTableName: Example_Accounts_PhoneNumberIdentifiers
|
||||||
|
|
||||||
deletedAccountsDynamoDb: # DynamoDb table configuration
|
deletedAccountsDynamoDb: # DynamoDb table configuration
|
||||||
region:
|
region: us-west-2
|
||||||
tableName:
|
tableName: Example_DeletedAccounts
|
||||||
needsReconciliationIndexName:
|
needsReconciliationIndexName: NeedsReconciliation
|
||||||
|
|
||||||
deletedAccountsLockDynamoDb: # DynamoDb table configuration
|
deletedAccountsLockDynamoDb: # DynamoDb table configuration
|
||||||
region:
|
region: us-west-2
|
||||||
tableName:
|
tableName: Example_DeletedAccountsLock
|
||||||
|
|
||||||
redeemedReceiptsDynamoDb: # DynamoDB table configuration
|
|
||||||
region:
|
|
||||||
tableName:
|
|
||||||
expirationTime: # ISO8601 Duration
|
|
||||||
|
|
||||||
migrationDeletedAccountsDynamoDb: # DynamoDB table configuration
|
|
||||||
region:
|
|
||||||
tableName:
|
|
||||||
|
|
||||||
migrationRetryAccountsDynamoDb: # DynamoDB table configuration
|
|
||||||
region:
|
|
||||||
tableName:
|
|
||||||
|
|
||||||
pendingAccountsDynamoDb: # DynamoDB table configuration
|
pendingAccountsDynamoDb: # DynamoDB table configuration
|
||||||
region:
|
region: us-west-2
|
||||||
tableName:
|
tableName: Example_PendingAccounts
|
||||||
|
|
||||||
pendingDevicesDynamoDb: # DynamoDB table configuration
|
pendingDevicesDynamoDb: # DynamoDB table configuration
|
||||||
region:
|
region: us-west-2
|
||||||
tableName:
|
tableName: Example_PendingDevices
|
||||||
|
|
||||||
|
phoneNumberIdentifiersDynamoDb: # DynamoDB table configuration
|
||||||
|
region: us-west-2
|
||||||
|
tableName: Example_PhoneNumberIdentifiers
|
||||||
|
|
||||||
pushChallengeDynamoDb: # DynamoDB table configuration
|
pushChallengeDynamoDb: # DynamoDB table configuration
|
||||||
region:
|
region: us-west-2
|
||||||
tableName:
|
tableName: Example_PushChallenges
|
||||||
|
|
||||||
reportMessageDynamoDb: # DynamoDB table configuration
|
reportMessageDynamoDb: # DynamoDB table configuration
|
||||||
region:
|
region: us-west-2
|
||||||
tableName:
|
tableName: Example_ReportedMessages
|
||||||
|
|
||||||
awsAttachments: # AWS S3 configuration
|
awsAttachments: # AWS S3 configuration
|
||||||
accessKey:
|
accessKey: test
|
||||||
accessSecret:
|
accessSecret: test
|
||||||
bucket:
|
bucket: aws-attachments
|
||||||
region:
|
region: us-west-2
|
||||||
|
|
||||||
gcpAttachments: # GCP Storage configuration
|
gcpAttachments: # GCP Storage configuration
|
||||||
domain:
|
domain: example.com
|
||||||
email:
|
email: user@example.cocm
|
||||||
maxSizeInBytes:
|
maxSizeInBytes: 1024
|
||||||
pathPrefix:
|
pathPrefix:
|
||||||
rsaSigningKey:
|
rsaSigningKey: |
|
||||||
|
-----BEGIN PRIVATE KEY-----
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
AAAAAAAA
|
||||||
|
-----END PRIVATE KEY-----
|
||||||
|
|
||||||
abuseDatabase: # Postgresql database configuration
|
abuseDatabase: # Postgresql database configuration
|
||||||
driverClass: org.postgresql.Driver
|
driverClass: org.postgresql.Driver
|
||||||
user:
|
user: example
|
||||||
password:
|
password: password
|
||||||
url:
|
url: jdbc:postgresql://example.com:5432/abusedb
|
||||||
|
|
||||||
accountsDatabase: # Postgresql database configuration
|
accountsDatabase: # Postgresql database configuration
|
||||||
driverClass: org.postgresql.Driver
|
driverClass: org.postgresql.Driver
|
||||||
user:
|
user: example
|
||||||
password:
|
password: password
|
||||||
url:
|
url: jdbc:postgresql://example.com:5432/accountsdb
|
||||||
|
|
||||||
accountDatabaseCrawler:
|
accountDatabaseCrawler:
|
||||||
chunkSize: # accounts per run
|
chunkSize: 10 # accounts per run
|
||||||
chunkIntervalMs: # time per run
|
chunkIntervalMs: 60000 # time per run
|
||||||
|
|
||||||
dynamoDbMigrationCrawler:
|
|
||||||
chunkSize: # accounts per run
|
|
||||||
chunkIntervalMs: # time per run
|
|
||||||
|
|
||||||
apn: # Apple Push Notifications configuration
|
apn: # Apple Push Notifications configuration
|
||||||
sandbox: true
|
sandbox: true
|
||||||
bundleId:
|
bundleId: com.example.textsecuregcm
|
||||||
keyId:
|
keyId: unset
|
||||||
teamId:
|
teamId: unset
|
||||||
signingKey:
|
signingKey: |
|
||||||
|
-----BEGIN PRIVATE KEY-----
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
AAAAAAAA
|
||||||
|
-----END PRIVATE KEY-----
|
||||||
|
|
||||||
gcm: # GCM Configuration
|
gcm: # GCM Configuration
|
||||||
senderId:
|
senderId: 123456789
|
||||||
apiKey:
|
apiKey: unset
|
||||||
|
|
||||||
cdn:
|
cdn:
|
||||||
accessKey: # AWS Access Key ID
|
accessKey: test # AWS Access Key ID
|
||||||
accessSecret: # AWS Access Secret
|
accessSecret: test # AWS Access Secret
|
||||||
bucket: # S3 Bucket name
|
bucket: cdn # S3 Bucket name
|
||||||
region: # AWS region
|
region: us-west-2 # AWS region
|
||||||
|
|
||||||
datadog:
|
datadog:
|
||||||
apiKey:
|
apiKey: unset
|
||||||
environment:
|
environment: dev
|
||||||
|
|
||||||
unidentifiedDelivery:
|
unidentifiedDelivery:
|
||||||
certificate:
|
certificate: ABCD1234
|
||||||
privateKey:
|
privateKey: ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789AAAAAAA
|
||||||
expiresDays:
|
expiresDays: 7
|
||||||
|
|
||||||
voiceVerification:
|
voiceVerification:
|
||||||
url: https://cdn-ca.signal.org/verification/
|
url: https://cdn-ca.signal.org/verification/
|
||||||
|
@ -214,33 +258,74 @@ voiceVerification:
|
||||||
- en
|
- en
|
||||||
|
|
||||||
recaptcha:
|
recaptcha:
|
||||||
secret:
|
secret: unset
|
||||||
|
|
||||||
recaptchaV2:
|
recaptchaV2:
|
||||||
siteKey:
|
siteKey: unset
|
||||||
scoreFloor:
|
scoreFloor: 1.0
|
||||||
projectPath:
|
projectPath: projects/example
|
||||||
credentialConfigurationJson:
|
credentialConfigurationJson: "{ }" # service account configuration for backend authentication
|
||||||
|
|
||||||
storageService:
|
storageService:
|
||||||
uri:
|
uri: storage.example.com
|
||||||
userAuthenticationTokenSharedSecret:
|
userAuthenticationTokenSharedSecret: 00000f
|
||||||
storageCaCertificate:
|
storageCaCertificate: |
|
||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
AAAAAAAAAAAAAAAAAAAA
|
||||||
|
-----END CERTIFICATE-----
|
||||||
|
|
||||||
backupService:
|
backupService:
|
||||||
uri:
|
uri: backup.example.com
|
||||||
userAuthenticationTokenSharedSecret:
|
userAuthenticationTokenSharedSecret: 00000f
|
||||||
backupCaCertificate:
|
backupCaCertificate: |
|
||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
|
AAAAAAAAAAAAAAAAAAAA
|
||||||
|
-----END CERTIFICATE-----
|
||||||
|
|
||||||
zkConfig:
|
zkConfig:
|
||||||
serverPublic:
|
serverPublic: ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyz
|
||||||
serverSecret:
|
serverSecret: ABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/0123456789+abcdefghijklmnopqrstuvwxyzAA==
|
||||||
enabled:
|
|
||||||
|
|
||||||
appConfig:
|
appConfig:
|
||||||
application:
|
application: example
|
||||||
environment:
|
environment: example
|
||||||
configuration:
|
configuration: example
|
||||||
|
|
||||||
remoteConfig:
|
remoteConfig:
|
||||||
authorizedTokens:
|
authorizedTokens:
|
||||||
|
@ -249,48 +334,65 @@ remoteConfig:
|
||||||
- # ...
|
- # ...
|
||||||
- # Nth authorized token
|
- # Nth authorized token
|
||||||
globalConfig: # keys and values that are given to clients on GET /v1/config
|
globalConfig: # keys and values that are given to clients on GET /v1/config
|
||||||
|
EXAMPLE_KEY: VALUE
|
||||||
|
|
||||||
paymentsService:
|
paymentsService:
|
||||||
userAuthenticationTokenSharedSecret: # hex-encoded 32-byte secret shared with MobileCoin services used to generate auth tokens for Signal users
|
userAuthenticationTokenSharedSecret: 0000000f0000000f0000000f0000000f0000000f0000000f0000000f0000000f # hex-encoded 32-byte secret shared with MobileCoin services used to generate auth tokens for Signal users
|
||||||
fixerApiKey:
|
fixerApiKey: unset
|
||||||
paymentCurrencies:
|
paymentCurrencies:
|
||||||
-
|
# list of symbols for supported currencies
|
||||||
|
- MOB
|
||||||
torExitNodeList:
|
|
||||||
s3Region:
|
|
||||||
s3Bucket:
|
|
||||||
objectKey:
|
|
||||||
maxSize:
|
|
||||||
|
|
||||||
asnTable:
|
|
||||||
s3Region:
|
|
||||||
s3Bucket:
|
|
||||||
objectKey:
|
|
||||||
maxSize:
|
|
||||||
|
|
||||||
donation:
|
donation:
|
||||||
uri: # value
|
uri: donation.example.com # value
|
||||||
supportedCurrencies:
|
supportedCurrencies:
|
||||||
- # 1st supported currency
|
- # 1st supported currency
|
||||||
- # 2nd supported currency
|
- # 2nd supported currency
|
||||||
- # ...
|
- # ...
|
||||||
- # Nth supported currency
|
- # Nth supported currency
|
||||||
circuitBreaker:
|
|
||||||
failureRateThreshold: # value
|
|
||||||
ringBufferSizeInHalfOpenState: # value
|
|
||||||
ringBufferSizeInClosedState: # value
|
|
||||||
waitDurationInOpenStateInSeconds: # value
|
|
||||||
retry:
|
|
||||||
maxAttempts: # value
|
|
||||||
waitDuration: # value
|
|
||||||
|
|
||||||
badges:
|
badges:
|
||||||
badges:
|
badges:
|
||||||
- id: TEST
|
- id: TEST
|
||||||
imageUrl: https://example.com/test-badge
|
|
||||||
category: other
|
category: other
|
||||||
|
sprites: # exactly 6
|
||||||
|
- sprite-1.png
|
||||||
|
- sprite-2.png
|
||||||
|
- sprite-3.png
|
||||||
|
- sprite-4.png
|
||||||
|
- sprite-5.png
|
||||||
|
- sprite-6.png
|
||||||
|
svg: example.svg
|
||||||
|
svgs:
|
||||||
|
- light: example-light.svg
|
||||||
|
dark: example-dark.svg
|
||||||
|
transparent: example-transparent.svg
|
||||||
badgeIdsEnabledForAll:
|
badgeIdsEnabledForAll:
|
||||||
- TEST
|
- TEST
|
||||||
receiptLevels:
|
receiptLevels:
|
||||||
'1': TEST
|
'1': TEST
|
||||||
|
|
||||||
|
subscription: # configuration for Stripe subscriptions
|
||||||
|
badgeGracePeriod: P15D
|
||||||
|
levels:
|
||||||
|
500:
|
||||||
|
badge: EXAMPLE
|
||||||
|
prices:
|
||||||
|
# list of ISO 4217 currency codes and amounts for the given badge level
|
||||||
|
xts:
|
||||||
|
amount: '10'
|
||||||
|
id: price_example # stripe ID
|
||||||
|
|
||||||
|
boost:
|
||||||
|
level: 1
|
||||||
|
expiration: P90D
|
||||||
|
badge: EXAMPLE
|
||||||
|
currencies:
|
||||||
|
# ISO 4217 currency codes and amounts in those currencies
|
||||||
|
xts:
|
||||||
|
- '1'
|
||||||
|
- '2'
|
||||||
|
- '4'
|
||||||
|
- '8'
|
||||||
|
- '20'
|
||||||
|
- '40'
|
||||||
|
|
Loading…
Reference in New Issue