fix: include jpush handler in docker config
This commit is contained in:
@@ -182,6 +182,18 @@ ENV TNPG_AUTH_TOKEN=
|
||||
# Tinode Push Gateway organization name as registered at console.tinode.co
|
||||
ENV TNPG_ORG=
|
||||
|
||||
# Disable JPush by default. The handler can be enabled from HotGo sys_config
|
||||
# through the im_jpush dictionary group when the config stanza is present.
|
||||
ENV JPUSH_PUSH_ENABLED=false
|
||||
ENV JPUSH_API_DOMAIN=https://api.jpush.cn
|
||||
ENV JPUSH_PUSH_PATH=/v3/push
|
||||
ENV JPUSH_DEFAULT_TTL_SECONDS=86400
|
||||
ENV JPUSH_CALL_TTL_SECONDS=60
|
||||
ENV JPUSH_APNS_PRODUCTION=false
|
||||
ENV JPUSH_USE_ALIAS=false
|
||||
ENV JPUSH_CLASSIFICATION=1
|
||||
ENV JPUSH_TITLE=MeetingIM
|
||||
|
||||
# Video calls configuration.
|
||||
ENV WEBRTC_ENABLED=false
|
||||
ENV ICE_SERVERS_FILE=/opt/tinode/ice-servers.json
|
||||
|
||||
@@ -100,6 +100,15 @@ ENV TLS_ENABLED=false
|
||||
ENV FCM_PUSH_ENABLED=false
|
||||
ENV FCM_INCLUDE_ANDROID_NOTIFICATION=true
|
||||
ENV TNPG_PUSH_ENABLED=false
|
||||
ENV JPUSH_PUSH_ENABLED=false
|
||||
ENV JPUSH_API_DOMAIN=https://api.jpush.cn
|
||||
ENV JPUSH_PUSH_PATH=/v3/push
|
||||
ENV JPUSH_DEFAULT_TTL_SECONDS=86400
|
||||
ENV JPUSH_CALL_TTL_SECONDS=60
|
||||
ENV JPUSH_APNS_PRODUCTION=false
|
||||
ENV JPUSH_USE_ALIAS=false
|
||||
ENV JPUSH_CLASSIFICATION=1
|
||||
ENV JPUSH_TITLE=MeetingIM
|
||||
ENV WEBRTC_ENABLED=false
|
||||
ENV ICE_SERVERS_FILE=/opt/tinode/ice-servers.json
|
||||
ENV SERVER_STATUS_PATH=''
|
||||
|
||||
@@ -246,6 +246,20 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "jpush",
|
||||
"config": {
|
||||
"enabled": $JPUSH_PUSH_ENABLED,
|
||||
"api_domain": "$JPUSH_API_DOMAIN",
|
||||
"push_path": "$JPUSH_PUSH_PATH",
|
||||
"default_ttl_seconds": $JPUSH_DEFAULT_TTL_SECONDS,
|
||||
"call_ttl_seconds": $JPUSH_CALL_TTL_SECONDS,
|
||||
"apns_production": $JPUSH_APNS_PRODUCTION,
|
||||
"use_alias": $JPUSH_USE_ALIAS,
|
||||
"classification": $JPUSH_CLASSIFICATION,
|
||||
"title": "$JPUSH_TITLE"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user