Firebase -> Redis translator.
SUBSCRIBE child_added:my/datafirebase-<event> channel on redis
PUBLISH firebase-child-changed my/datasudo pip install -U figfig upFIREBASE_URL=<YOUR FIRBASE URL> node index.jsThe important environment variables that should be set are REDIS_PORT_6379_TCP_PORT and REDIS_PORT_6379_TCP_ADDR. Those should be set to the appropriate port and address values to connect to Redis.
You should also set FIREBASE_URL to your production Firebase URL.
docker build . -t <your tag>docker run --env FIREBASE_URL=<YOUR FIREBASE URL> --env REDIS_PORT_6379_TCP_ADDR=<YOUR REDIS SERVER ADDRESS> --env REDIS_PORT_6379_TCP_PORT=<YOUR REDIS PORT> <your tag>
--link <your redis container>:redis to run and all the environment variables for redis will be filled out. You still need to pass in the Firebase url however.Content type
Image
Digest
sha256:d21c4056e…
Size
290.3 MB
Last updated
almost 11 years ago
docker pull jmtulloss/ewf