Merge pull request #102 from Dokploy/100-database-access-from-outside-possible-by-default

fix(100#): Remove published port in the redis database to be not expo…
This commit is contained in:
Mauricio Siu
2024-05-22 22:05:35 -06:00
committed by GitHub

View File

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