You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To see how to obtain `team_id` read: https://www.mobiloud.com/help/knowledge-base/ios-app-transfer/
33
33
`FCM` JSON file can be generated by Firebase console (https://console.firebase.google.com). Go to your project -> `Project Settings` -> `Service accounts` -> `Generate new private key`
34
-
Assuming that you have the `priv` directory with all ceriticates and fcm token in current directory, then you may start MongoosePush with the following command:
34
+
Assuming that you have the `priv` directory with all certificates and fcm token in current directory, then you may start MongoosePush with the following command:
35
35
36
36
```bash
37
37
docker run -v `pwd`/priv:/opt/app/priv \
@@ -64,8 +64,8 @@ Environmental variables to configure production release:
64
64
##### Settings for HTTP endpoint:
65
65
*`PUSH_HTTPS_BIND_ADDR` - Bind IP address of the HTTP endpoint. Default value in prod release is "127.0.0.1", but docker overrides this with "0.0.0.0"
66
66
*`PUSH_HTTPS_PORT` - The port of the MongoosePush HTTP endpoint. Please note that docker exposes only `8443` port, so changing this setting is not recommended
67
-
*`PUSH_HTTPS_KEYFILE` - Path to a PEM keyfile used for HTTP endpoint
68
-
*`PUSH_HTTPS_CERTFILE` - Path to a PEM certfile used for HTTP endpoint
67
+
*`PUSH_HTTPS_KEYFILE` - Path to a PEM keyfile used for HTTP endpoint (must be aabsolute).
68
+
*`PUSH_HTTPS_CERTFILE` - Path to a PEM certfile used for HTTP endpoint.
69
69
*`PUSH_HTTPS_ACCEPTORS` - Number of TCP acceptors to start
70
70
71
71
##### General settings:
@@ -77,16 +77,16 @@ Environmental variables to configure production release:
77
77
78
78
##### Settings for FCM service:
79
79
*`PUSH_FCM_ENDPOINT` - Hostname of `FCM` service. Set only for local testing. By default this option points to the Google's official hostname
80
-
*`PUSH_FCM_APP_FILE` - Path to `FCM` service account JSON file. For details look at **Running from DockerHub** section
80
+
*`PUSH_FCM_APP_FILE` - Path to `FCM` service account JSON file (absolute or relative to `/opt/app/priv/`). For details look at **Running from DockerHub** section
81
81
*`PUSH_FCM_POOL_SIZE` - Connection pool size for `FCM` service
82
82
83
83
##### Settings for development APNS service:
84
84
*`PUSH_APNS_DEV_ENDPOINT` - Hostname of `APNS` service. Set only for local testing. By default this option points to the Apple's official hostname
85
-
*`PUSH_APNS_DEV_CERT` - Path Apple's development certfile used to communicate with `APNS`
86
-
*`PUSH_APNS_DEV_KEY` - Path Apple's development keyfile used to communicate with `APNS`
85
+
*`PUSH_APNS_DEV_CERT` - Path to Apple's development certfile used to communicate with `APNS` (absolute or relative to `/opt/app/priv/`)
86
+
*`PUSH_APNS_DEV_KEY` - Path to Apple's development keyfile used to communicate with `APNS` (absolute or relative to `/opt/app/priv/`)
87
87
*`PUSH_APNS_DEV_KEY_ID` - Key ID generated from Apple's developer console. For details look at **Running from DockerHub** section *required for token authentication*
88
88
*`PUSH_APNS_DEV_TEAM_ID` - TEAM ID generated from Apple's developer console. For details look at **Running from DockerHub** section *required for token authenticaton*
89
-
*`PUSH_APNS_DEV_P8_TOKEN` - Token generated from Apple's developer console. For details look at **Running from DockerHub** section
89
+
*`PUSH_APNS_DEV_P8_TOKEN` - Path to file containing token generated from Apple's developer console (absolute or relative to `/opt/app/priv/`). For details look at **Running from DockerHub** section
90
90
*`PUSH_APNS_DEV_USE_2197` - `true`/`false` - Enable or disable use of alternative `2197` port for `APNS` connections in development mode. Disabled by default
91
91
*`PUSH_APNS_DEV_POOL_SIZE` - Connection pool size for `APNS` service in development mode
92
92
*`PUSH_APNS_DEV_DEFAULT_TOPIC` - Default `APNS` topic to be set if the client app doesn't specify it with the API call. If this option is not set, MongoosePush will try to extract this value from the provided APNS certificate (the first topic will be assumed default). DEV certificates normally don't provide any topics, so this option can be safely left unset
0 commit comments