mirror of
https://github.com/andwati/dokploy.git
synced 2026-12-01 23:38:47 +00:00
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:
@@ -34,5 +34,7 @@ if (DATABASE_URL) {
|
|||||||
Please migrate to Docker Secrets using POSTGRES_PASSWORD_FILE.
|
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
|
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";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user