This repository has been archived by the owner on Aug 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 94
/
example-signal.yml
131 lines (110 loc) · 8.98 KB
/
example-signal.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
server: # Server configuration
applicationConnectors:
- type: http
port: 8080
adminConnectors:
- type: http
port: 8081
backupService:
userAuthenticationTokenSharedSecret: XXXXXXXXXXXXXXX # Generate it with `head -c 16 /dev/urandom | hexdump -ve '1/1 "%.2x"'`
storageService:
userAuthenticationTokenSharedSecret: XXXXXXXXXXXXXXX # Generate it with `head -c 16 /dev/urandom | hexdump -ve '1/1 "%.2x"'`
cache: # Redis server configuration for cache cluster
url: redis://127.0.0.1:6379/cache
replicaUrls:
- redis://127.0.0.1:6380/cacheReplica
directory:
redis: # Redis server configuration for directory cluster
url: redis://127.0.0.1:6379/directory
replicaUrls:
- redis://127.0.0.1:6380/directoryReplica
client: # Configuration for interfacing with Contact Discovery Service cluster
userAuthenticationTokenSharedSecret: XXXXXXXXXXXXXXX # Generate it with `head -c 16 /dev/urandom | hexdump -ve '1/1 "%.2x"'`
userAuthenticationTokenUserIdSecret: XXXXXXXXXXXXXXX # Generate it with `head -c 16 /dev/urandom | hexdump -ve '1/1 "%.2x"'`
sqs:
accessKey: XXXXXXXXXXXXXXX # Change this to your AWS IAM Access Key
accessSecret: XXXXXXXXXXXXXXX # Change this to your AWS IAM Secret
queueUrl: https://sqs.XXXXXXXXX.amazonaws.com/XXXXXXXXX/XXXXXXXXX.fifo # Change this to your AWS SQS (FIFO) URL
server: # You can change the certificate with your own certificate
replicationUrl: http://127.0.0.1:9090 # CDS replication endpoint base url
replicationPassword: XXXXXXXXXXXXXXX # CDS replication endpoint password
replicationCaCertificate: |
-----BEGIN CERTIFICATE-----
fill this with your ca certificate
-----END CERTIFICATE-----
messageCache: # Redis server configuration for message store cache
redis:
url: redis://127.0.0.1:6379/messageCache
replicaUrls:
- redis://127.0.0.1:6380/messageCacheReplica
pushScheduler:
url: redis://127.0.0.1:6379/pushScheduler
replicaUrls:
- redis://127.0.0.1:6380/pushSchedulerReplica
push:
queueSize: 200
attachments: # AWS S3 configuration
accessKey: XXXXXXXXXXXXXXX # Change this to your AWS IAM Access Key
accessSecret: xxxxxxxxxxxxxxx # Change this to your AWS IAM Secret
bucket: xxxxxxxxxx # Change this to your bucket's name
region: xx-xxxxxxxxx-x # Change this to your bucket's region
cdn: # AWS S3 configuration
accessKey: XXXXXXXXXXXXXXX # Change this to your AWS IAM Access Key
accessSecret: xxxxxxxxxxxxxxx # Change this to your AWS IAM Secret
bucket: xxxxxxxxxx # Change this to your bucket's name
region: xx-xxxxxxxxx-x # Change this to your bucket's region
accountsDatabase:
driverClass: org.postgresql.Driver
user: postgres # change to your psql username
password: postgres # change to your psql password
url: jdbc:postgresql://127.0.0.1:5432/signal #change to your psql url, port, and database name
keysDatabase:
driverClass: org.postgresql.Driver
user: postgres # change to your psql username
password: postgres # change to your psql password
url: jdbc:postgresql://127.0.0.1:5432/signal #change to your psql url, port, and database name
messageStore:
driverClass: org.postgresql.Driver
user: postgres # change to your psql username
password: postgres # change to your psql password
url: jdbc:postgresql://127.0.0.1:5432/signal #change to your psql url, port, and database name
abuseDatabase:
driverClass: org.postgresql.Driver
user: postgres # change to your psql username
password: postgres # change to your psql password
url: jdbc:postgresql://127.0.0.1:5432/signal #change to your psql url, port, and database name
accountDatabaseCrawler:
chunkSize: 1000
chunkIntervalMs: 1000000
gcm:
senderId: 0000000000 # Change this to your FCM Sender ID
apiKey: XXXXXXXXXXXXXXXX # Change this to your FCM API Key
apn: # You can use these value if you don't need Apple Push Notification
pushCertificate: "-----BEGIN CERTIFICATE-----\r\nMIIFjzCCBHegAwIBAgIIfkSIVVtC9UIwDQYJKoZIhvcNAQEFBQAwgZYxCzAJBgNV\r\nBAYTAlVTMRMwEQYDVQQKDApBcHBsZSBJbmMuMSwwKgYDVQQLDCNBcHBsZSBXb3Js\r\nZHdpZGUgRGV2ZWxvcGVyIFJlbGF0aW9uczFEMEIGA1UEAww7QXBwbGUgV29ybGR3\r\naWRlIERldmVsb3BlciBSZWxhdGlvbnMgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkw\r\nHhcNMTkwNTA5MTc0NzUyWhcNMjAwNTA4MTc0NzUyWjCBjjElMCMGCgmSJomT8ixk\r\nAQEMFWNvbS5xYW5kb3JhcHAucWFuZG9yMzFDMEEGA1UEAww6QXBwbGUgRGV2ZWxv\r\ncG1lbnQgSU9TIFB1c2ggU2VydmljZXM6IGNvbS5xYW5kb3JhcHAucWFuZG9yMzET\r\nMBEGA1UECwwKTlA2UE5GUUdBODELMAkGA1UEBhMCVVMwggEiMA0GCSqGSIb3DQEB\r\nAQUAA4IBDwAwggEKAoIBAQDIo+8GD6chbxCFDI7bTK6iTxQHnD/FiXJvEYBbO3ey\r\nQV8/XZm66VbO+RbA4UArA2bjdW5KZkSQ7hSYJcomQCmcmpqmrXjcaL0KfeWinSz4\r\nmbXxoXK9JsoUSjOfy7yXHGDLZSHGVvn5gO1FU9WPX3Iu7YYMT1hwnMgmZIuzn5K9\r\nAiyxvQzSlIlEsnpoqTDUz+1eXtPXAISPQT8+jM8JoZohTrODuUUj2rSPWi62kMBP\r\nsX4H4ncSjI56DG/E0lvUV7d0PEiUnoxGwzycmGJVgpZqv/E6p1eUNT7Utl4ktuiq\r\nEv8ft3+brJx+FokMi7AKjxLvlYS18LTG6JbQMcmXHsdlAgMBAAGjggHlMIIB4TAJ\r\nBgNVHRMEAjAAMB8GA1UdIwQYMBaAFIgnFwmpth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HmySaZABmKNsiXRlPW+Fr\r\n7jkXwk7JH6emgcBH9d+Gyyp6ybVZvv/tNrFCcsECgYEA1DhtNlLASZ+UUVZmhF3W\r\noJc1vmXELgqllS5z5mj05YXD73Sx2P24iXnwJB+Sz4SJ5O+IBeCLufTvrB/QH5Rn\r\n1kCFSk9thwVpJ7HqIVf8nWChNNiAoLkG9XTfRWmUG/mTU9/EJ0ijgtDcmcEVKxCf\r\nP5jn8BfM4pMmW/Q4nolHGnkCgYEAnnLT1a8KSft/k1arYVwxktZx+z/NCmDTqQRf\r\nMJnHCEWX4FVdbKG7I4Q1Mrsn53xxNrqPFDxh8M23iMh8+b+Zl1wdGQqxztaPsLdE\r\nicX9ldKOiULWOfWyO9Y2oO0p3SaHu/dSDrC66r02yMYRDl6zlTq7K/fozIJNynUN\r\n2WHXh4ECgYEAneclaDj/KMtedyaJcblyEjtpzW3V/Gotws2cAaHqVaWDJHRrp0bl\r\nZNg8Jjf/NoixxENZ5bdduAR3JEjTwScRpOluO45Huq2gIMS7jsBKoDAvF94DNUI5\r\nNDtK8x/8+SOdk5HAGNHDoMqVbgZ2NpeOIGxzoZUCCK4f1j1CZbeEIio=\r\n-----END RSA PRIVATE KEY-----"
bundleId: com.notused
sandbox: true
recaptcha:
secret: XXXXXXXXXXXXXXXX # Change this to your Google Recaptcha secret
turn: # Coturn server configuration
secret: secret # You will need the same config with the secret in turnserver.conf
uris:
- stun:signal.domain.com:3478 # If you change the port in turnserver.conf, change this too
- stun:signal.domain.com:5349 # If you change the port in turnserver.conf, change this too
- turn:signal.domain.com:5349?transport=udp # If you change the port in turnserver.conf, change this too
- turn:signal.domain.com:3478?transport=udp # If you change the port in turnserver.conf, change this too
twilio: # Twilio gateway configuration
accountId: xxxxxxxxxx # Change this to your account id
accountToken: xxxxxxxxxx # Change this to your token
localDomain: signal.domain.com # Change this to your domain
numbers:
- "+000000000" # Change this to your number from Twilio
- "+000000000" # You can use one or more numbers
unidentifiedDelivery:
certificate: XXXXXXXXXXXXXXXX # Change this to your generated certificate
privateKey: XXXXXXXXXXXXXXXX= # Change this to you generated private key
expiresDays: 365
voiceVerification:
url: https://cdn-ca.signal.org/verification
locales:
- en