mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix(100#): Remove published port in the redis database to be not exposed to the internet
This commit is contained in:
@@ -33,7 +33,9 @@ export const initializeRedis = async () => {
|
|||||||
Ports: [
|
Ports: [
|
||||||
{
|
{
|
||||||
TargetPort: 6379,
|
TargetPort: 6379,
|
||||||
PublishedPort: 6379,
|
...(process.env.NODE_ENV === "development"
|
||||||
|
? { PublishedPort: 6379 }
|
||||||
|
: {}),
|
||||||
Protocol: "tcp",
|
Protocol: "tcp",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user