fix(100#): Remove published port in the redis database to be not exposed to the internet

This commit is contained in:
Mauricio Siu
2024-05-22 22:00:49 -06:00
parent 654fe75c07
commit 642deac709

View File

@@ -33,7 +33,9 @@ export const initializeRedis = async () => {
Ports: [
{
TargetPort: 6379,
PublishedPort: 6379,
...(process.env.NODE_ENV === "development"
? { PublishedPort: 6379 }
: {}),
Protocol: "tcp",
},
],