mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
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:
@@ -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