e PUSH_HTTPS_KEYFILE="/opt/app/priv/ssl/rest_key.pem" \ e PUSH_HTTPS_CERTFILE="/opt/app/priv/ssl/rest_cert.pem" \ Go to your project -> Project Settings -> Service accounts -> Generate new private keyĪssuming that you have the priv directory with all ceriticates and fcm token in current directory, then you may start MongoosePush with the following command: docker run -v `pwd`/priv:/opt/app/priv \ To see how to obtain token and key_id read:įCM JSON file can be generated by Firebase console ( ). If you want to use APNS token authentication you need to provide token and set key_id and team_id environmental variables. ![]()
0 Comments
Leave a Reply. |