Update sample configuration

// FREEBIE
This commit is contained in:
Moxie Marlinspike 2017-06-06 08:22:46 -07:00
parent 3d7e4766f7
commit 8ea805e4e3
1 changed files with 45 additions and 50 deletions

View File

@ -1,62 +1,57 @@
twilio: # Twilio SMS gateway configuration
accountId:
accountToken:
numbers:
localDomain: # The domain Twilio can call back to.
twilio: # Twilio gateway configuration
accountId:
accountToken:
numbers: # Numbers allocated in Twilio
- # First number
- # Second number
- # Third number
- # ...
- # Nth number
messagingServicesId:
localDomain: # Domain Twilio can connect back to for calls. Should be domain of your service.
push: # GCM/APN push server configuration
host:
port:
username:
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
cache: # Redis server configuration for cache cluster
url:
directory: # Redis server configuration for directory cluster
url:
messageStore: # Postgresql database configuration for message store
driverClass: org.postgresql.Driver
user:
password:
url:
s3: # AWS S3 configuration
accessKey:
accessSecret:
# Name of the S3 bucket (needs to have been created)
# for attachments to go. Should be configured with
# correct permissions.
accessKey:
accessSecret:
attachmentsBucket:
directory: # Redis server configuration for TS directory
url:
cache: # Redis server configuration for general purpose caching
url:
websocket:
enabled: true
messageStore: # Postgres database configuration for message store
database: # Postgresql database configuration
driverClass: org.postgresql.Driver
user:
password:
url:
database: # Postgres database configuration for account store
# the name of your JDBC driver
driverClass: org.postgresql.Driver
# the username
user:
# the password
password:
# the JDBC URL
url: jdbc:postgresql://somehost:somport/somedb
# any properties specific to your JDBC driver:
properties:
charSet: UTF-8
federation:
name:
peers:
-
name: somepeer
url: https://foo.com
authenticationToken: foo
certificate: in pem format
apn: # Apple Push Notifications configuration
bundleId:
pushCertificate:
pushKey:
gcm: # GCM Configuration
senderId:
apiKey: