forked from gburd/wave
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathserver.config.example
150 lines (116 loc) · 5.97 KB
/
server.config.example
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# Core Configuration for the Wave in a Box server
#
# Run "ant -f server-config.xml" to generate the server.config file automatically.
# To override default values pass them to the ant script. For example
# to override wave_server_domain run: ant -f server-config.xml -Dwave_server_domain=example.com
# Domain name of the wave server
# Default value: local.net
wave_server_domain = @WAVE_SERVER_DOMAIN@
# A comma separated list of address on which to listen for connections.
# Each address is a comma separated host:port pair.
# Default value: localhost:9898
http_frontend_public_address = @HTTP_FRONTEND_PUBLIC_ADDRESS@
# Default value: values passed to http_frontend_public_address.
http_frontend_addresses = @HTTP_FRONTEND_ADDRESSES@
# A comma separated list of webApp source directories
# Default value: ./war
resource_bases = @RESOURCE_BASES@
### Server-specific variables
###
# Settings for the different persistence stores. Currently supported: memory, file, mongodb
# Default value: memory
signer_info_store_type = @SIGNER_INFO_STORE_TYPE@
# The location where signer info certificate data is stored on disk. This should be changed.
# Note: This is only used when using the file signer info store. It is ignored
# for other data store types.
# Default value: _certificates
signer_info_store_directory = @SIGNER_INFO_STORE_DIRECTORY@
# Currently supported attachment types: mongodb, disk
# Default value: disk
attachment_store_type = @ATTACHMENT_STORE_TYPE@
# The location where attachments are stored on disk. This should be changed.
# Note: This is only used when using the disk attachment store. It is ignored
# for other data store types.
attachment_store_directory = @ATTACHMENT_STORE_DIRECTORY@
# Currently supported account store types: fake, memory, file, mongodb
# Default value: memory
account_store_type = @ACCOUNT_STORE_TYPE@
# The location where accounts are stored on disk. This should be changed.
# Note: This is only used when using the file account store. It is ignored
# for other data store types.
# Default value: _accounts
account_store_directory = @ACCOUNT_STORE_DIRECTORY@
# Currently supported delta store types: memory, file
# Note: file system support is experimental. Your server may crash. And the file format is
# not stable and shouldn't be relied upon for long-term storage yet; upcoming changes will
# require you to blow away your data.
# Default value: memory
delta_store_type = @DELTA_STORE_TYPE@
# The location where deltas are stored on disk. This should be changed.
# Note: This is only used when using the file delta store. It is ignored
# for other data store types.
# Default value: _deltas
delta_store_directory = @DELTA_STORE_DIRECTORY@
# The location where user sessions are persisted on disk. This allow to restore user sessions
# between restarts.
# Default value: _sessions
sessions_store_directory = @SESSIONS_STORE_DIRECTORY@
# Note: the default value for admin is an invalid user id that cannot be registered.
# To become an admin: Register a user and set its address as the value below.
# Admin has a privilege to change passwords of other users using an agent robot.
# Default value: @${wave_server_domain}
admin_user = @ADMIN_USER@
# The wave id of the welcome template wave. (Without domain, for example: w+Fxjs_-ZPmmA).
# If filled in then a copy of this wave (actually only the root blip) will be
# automatically added to the inbox of every new user.
# Default value: "" (empty)
welcome_wave_id = @WELCOME_WAVE_ID@
# The number of threads to listen on wavelet updates. Default value: 1
listener_executor_thread_count = @LISTENER_EXECUTOR_THREAD_COUNT@
# The number of threads for loading wavelets. Default value: 1
wavelet_load_executor_thread_count = @WAVELET_LOAD_EXECUTOR_THREAD_COUNT@
# The number of threads to persist deltas. Default value: 1
delta_persist_executor_thread_count = @DELTA_PERSIST_EXECUTOR_THREAD_COUNT@
# The number of threads to perform post wavelet loading logic. Default value: 1
storage_continuation_executor_thread_count = @STORAGE_CONTINUATION_EXECUTOR_THREAD_COUNT@
# The number of threads for looking up the wavelet ids
# while creating a list of all wavelets in the persistent storage. Default value: 1
lookup_executor_thread_count = @LOOKUP_EXECUTOR_THREAD_COUNT@
# To enable federation, edit the server.federation.config file and include it here.
# Or run ant -f server-config.xml server-federation-config
# If not using the server-config.xml ant script - it is possible just to comment the line.
include = server.federation.config
# These two parameters MUST appear in this file AFTER the above include of the
# federation config file. This is necesary so that the federation config file
# can override these two values.
# Set true to disable the verification of signed deltas
waveserver_disable_verification = true
# Set true to disable the verification of signers (certificates)
waveserver_disable_signer_verification = true
# Set true to prevent anyone registering on your server.
# When true, only the admin user can use the RegistrationRobot to add new accounts
# Default value: false
disable_registration = @DISABLE_REGISTRATION@
# Enable SSL for all address/port combinations listed (makes the next 2 settings non-optional).
# Default value: false
enable_ssl = @ENABLE_SSL@
# Path to keystore containg the ssl certificates to server
# Note: this is only used when enable_ssl set to true.
ssl_keystore_path = @SSL_KEYSTORE_PATH@
# Password to the keystore.
# Note: this is only used when enable_ssl set to true.
ssl_keystore_password = @SSL_KEYSTORE_PASSWORD@
# Enable import of waves via /import URL.
# Default value: false
enable_import = @ENABLE_IMPORT@
# Currently supported search types: memory, lucene.
# Default value: lucene.
search_type = @SEARCH_TYPE@
# The location where search indexes are stored on disk.
# Note: This is only used when using the lucene search type. It is ignored
# for other search types.
# Default value: _indexes
index_directory = @INDEX_DIRECTORY@
# Google Analytics account.
# Default value: empty
analytics_account = @ANALYTICS_ACCOUNT@