fix(db): update database URL for Docker compatibility

- Commented out the old database URL for security reasons.
- Updated the database connection string to use the Docker service name for PostgreSQL, ensuring proper connectivity in containerized environments.
This commit is contained in:
Mauricio Siu
2026-02-01 19:54:43 -06:00
parent aa558b3a8c
commit c56def9c97

View File

@@ -34,5 +34,7 @@ if (DATABASE_URL) {
Please migrate to Docker Secrets using POSTGRES_PASSWORD_FILE.
Please execute this command in your server: curl -sSL https://dokploy.com/security/0.26.6.sh | bash
`);
dbUrl = "postgres://dokploy:amukds4wi9001583845717ad2@localhost:5432/dokploy";
// postgres://dokploy:amukds4wi9001583845717ad2@localhost:5432/dokploy
dbUrl =
"postgres://dokploy:amukds4wi9001583845717ad2@dokploy-postgres:5432/dokploy";
}