0
0
mirror of https://github.com/signalapp/Signal-Server.git synced 2024-09-20 03:52:16 +02:00
Signal-Server/service/config/sample.yml

140 lines
4.5 KiB
YAML
Raw Normal View History

2017-06-06 17:22:46 +02:00
twilio: # Twilio gateway configuration
accountId:
accountToken:
nanpaMessagingServiceSid: # Twilio SID for the messaging service to use for NANPA.
messagingServiceSid: # Twilio SID for the message service to use for non-NANPA.
2021-03-16 03:14:10 +01:00
verifyServiceSid: # Twilio SID for a Verify service
2017-06-06 17:22:46 +02:00
localDomain: # Domain Twilio can connect back to for calls. Should be domain of your service.
defaultClientVerificationTexts:
ios: # 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.
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.
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.
generic: # 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
999: # example country code
ios:
# … all keys from defaultClientVerificationTexts are required
2021-03-16 03:14:10 +01:00
androidAppHash: # Hash appended to Android
verifyServiceFriendlyName: # Service name used in template. Requires Twilio account rep to enable
2017-06-06 17:22:46 +02:00
push:
queueSize: # Size of push pending queue
redphone:
authKey: # Deprecated
turn: # TURN server configuration
secret: # TURN server secret
uris:
- stun:yourdomain:80
- stun:yourdomain.com:443
- turn:yourdomain:443?transport=udp
- turn:etc.com:80?transport=udp
cacheCluster: # Redis server configuration for cache cluster
urls:
- redis://redis.example.com:6379/
2018-09-18 20:17:12 +02:00
directory:
client: # Configuration for interfacing with Contact Discovery Service cluster
userAuthenticationTokenSharedSecret: # 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
sqs:
accessKey: # AWS SQS accessKey
accessSecret: # AWS SQS accessSecret
queueUrl: # AWS SQS queue url
server:
replicationUrl: # CDS replication endpoint base url
replicationPassword: # CDS replication endpoint password
replicationCaCertificate: # CDS replication endpoint TLS certificate trust root
reconciliationChunkSize: # CDS reconciliation chunk size
reconciliationChunkIntervalMs: # CDS reconciliation chunk interval, in milliseconds
2018-04-27 21:31:31 +02:00
messageCache: # Redis server configuration for message store cache
persistDelayMinutes:
2020-07-09 15:34:20 +02:00
cluster:
urls:
- redis://redis.example.com:6379/
2013-12-09 08:11:09 +01:00
2017-06-06 17:22:46 +02:00
messageStore: # Postgresql database configuration for message store
driverClass: org.postgresql.Driver
user:
password:
url:
2013-12-09 08:11:09 +01:00
metricsCluster:
urls:
- redis://redis.example.com:6379/
awsAttachments: # AWS S3 configuration
2017-06-06 17:22:46 +02:00
accessKey:
accessSecret:
2017-08-28 19:26:05 +02:00
bucket:
region:
gcpAttachments: # GCP Storage configuration
domain:
email:
maxSizeInBytes:
pathPrefix:
rsaSigningKey:
2017-08-28 19:26:05 +02:00
profiles: # AWS S3 configuration
accessKey:
accessSecret:
bucket:
region:
2013-12-09 08:11:09 +01:00
2017-06-06 17:22:46 +02:00
database: # Postgresql database configuration
driverClass: org.postgresql.Driver
user:
password:
2017-06-06 17:22:46 +02:00
url:
2013-12-09 08:11:09 +01:00
2017-06-06 17:22:46 +02:00
apn: # Apple Push Notifications configuration
sandbox: true
2017-06-06 17:22:46 +02:00
bundleId:
keyId:
teamId:
signingKey:
2017-06-06 17:22:46 +02:00
gcm: # GCM Configuration
senderId:
apiKey:
micrometer: # Micrometer metrics config
- name: "example"
- uri: "https://metrics.example.com/"
- apiKey:
- accountId:
remoteConfig:
authorizedTokens:
- # 1st authorized token
- # 2nd authorized token
- # ...
- # Nth authorized token
globalConfig: # keys and values that are given to clients on GET /v1/config
2020-10-08 16:51:01 +02:00
paymentService:
userAuthenticationTokenSharedSecret: # hex-encoded 32-byte secret shared with MobileCoin services used to generate auth tokens for Signal users
donation:
uri: # value
apiKey: # value
supportedCurrencies:
- # 1st supported currency
- # 2nd supported currency
- # ...
- # Nth supported currency
circuitBreaker:
failureRateThreshold: # value
ringBufferSizeInHalfOpenState: # value
ringBufferSizeInClosedState: # value
waitDurationInOpenStateInSeconds: # value
retry:
maxAttempts: # value
waitDuration: # value