Comments (6)
This is a good point! Let me see if I can make this change in next week. It should not be very hard.
from uniqush-push.
Hm, I don't see why not. 👍 for the idea
from uniqush-push.
@tleyden I bet then it would also be nice for you to have APNS pems stored inside Redis instead of on the file system?
from uniqush-push.
@mishan just curious, would that be for security reasons or ease of use?
from uniqush-push.
Ease of use -- I haven't found it totally convenient to host it on the filesystem either. It's not ideal to store blobs of data in Redis but it's small and there shouldn't be too much of it that it should be OK. The Redis best practice is indeed to store the path as it is doing now.
from uniqush-push.
It's easy to do, but there's other ways to accomplish this, and not sure if this is a common use case.
An alternative is to use a volume to add a folder with the certificates, or files with the certificates.
curl http://path/to/remote/uniqush-push.conf -o ~/path/to/uniqush-push.conf || exit 1
(or equivalent) could be used as another alternative in a startup script wrapping uniqush-push, so it seems unnecessary to include it (other services, such as redis, memcached, etc. don't generally download configs from a URL, to my knowledge).
https://docs.docker.com/engine/admin/volumes/volumes/#choose-the--v-or-mount-flag
Also,
I bet then it would also be nice for you to have APNS pems stored inside Redis instead of on the file system?
#123 would have to be solved first.
from uniqush-push.
Related Issues (20)
- APNs binary protocol will be disabled in November 2020 - Provide migration steps
- Add a health check for connection pools, redis being connected HOT 3
- Refuse to start up if APNs certificates cause SystemRootsError
- Plans for web push features? HOT 1
- Potential code quality issues found HOT 3
- Fix no-op Signal(os.Kill)
- Idea: Add an opt-in mode to act as a proxy without managing tokens
- Consider migrating GCM/FCM from legacy HTTP API to HTTP v1 API
- Look into token-based instead of certificate-based connections to APNs
- Add Destination pointer to all push.Error implementations, to log
- Disable APNs binary protocol and feedback checker HOT 1
- Look into supporting apns-push-type setting HOT 1
- cant receive message in android app
- Remove psps
- What about an open server-side events/REST protocol for apps on any platform?
- Document how to support new root CAs for APNs servers with uniqush
- Make FCM/APNS timeouts configurable?
- Switch to api.sandbox.push.apple.com
- what tutorials on this are complete, i cant send a push notification via fcm
- Support UnifiedPush on Android devices HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uniqush-push.