3 ms·
Other solution is to simply not expose ports directly with rocket compose and instead use something like Traefik to proxy them. I’ve stopped using ports after
by dawnerd 4y ago
Other solution is to simply not expose ports directly with rocket compose and instead use something like Traefik to proxy them.
I’ve stopped using ports after having a redis instance taken over by some crypto miner.
- Gordonjcp 4y agoTraefik is a good idea for other reasons, but there's no problem with using Docker to directly expose ports. You just need to ensure that you're only exposing the *right* ports, and aren't just blindly opening everything up to the world. By default nothing is exposed to the world. You do not need to expose your Redis server's port to anything.