No problem. You have several options depending on how you want to do it. There isn’t a one-click UI option (and alas the Fly-provided Redis URL which used to be there as a free temporary cache for apps has been deprecated).
Either …
-
Run Fly as a separate app, just like you say, and then connect to that from your Node app. Fly have written a guide for doing that: Redis on Fly
-
Fly does not support docker compose but you can run multi-process apps. See the first post from Kurt in this thread for how: Preview: multi process apps (get your workers here!)
-
Run Redis as a separate sibling process to node in the same Docker container using a supervisor to keep both it and node running. For that approach, see the last Dockerfile example on Run multiple services in a container | Docker Documentation and adjust accordingly. I used that approach in the past to run nginx and php-fpm together, so it should work to run Node and Redis together.
Really depends if you want one app or two. Personally I think I’d opt for 1, but up to you.