-
Notifications
You must be signed in to change notification settings - Fork 297
Self hosting
Michael Koppen edited this page Oct 16, 2018
·
25 revisions
If you want to host Wire's web application on your own servers, you can make use of our Docker image.
| Variable | Description |
|---|---|
| NODE_ENV | Sets the environment operation mode. Possible values are production & staging. This setting affects the server and the delivered client. |
| NODE_DEBUG | Regx for enabling logging in specific areas. E.g. @wireapp/*. |
| PORT | Sets the port the server is running on. |
| APP_BASE | Specifies the user facing domain of the app. |
| APP_NAME | Specifies the name of the application. |
| BACKEND_REST | Sets the endpoint for REST calls. |
| BACKEND_WS | Sets the endpoint for the WebSocket connection. |
| CSP_EXTRA_CONNECT_SRC | Adds additional CSP connectSrc entries. The default already includes BACKEND_REST & BACKEND_WS. |
| CSP_EXTRA_IMG_SRC | Adds additional CSP imgSrc entries. |
| CSP_EXTRA_SCRIPT_SRC | Adds additional CSP scriptSrc entries. |
| FEATURE_CHECK_CONSENT | Feature toggle for the user consent check. |
| URL_ACCOUNT_BASE | Sets the host URL for the account service (password reset, account deletion, etc.). |
| URL_MOBILE_BASE | Sets the host URL for the mobile client. |
| URL_TEAMS_BASE | Sets the host URL for the team settings service. |
| URL_WEBSITE_BASE | Sets the host URL for the website. |