Fix DATABASE_URL examples to use clear placeholder format

- Changed asterisk-based placeholders to standard username:password format
- Improved consistency across all database connection examples
- Made credential placeholders more clear and less confusing

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-08 02:09:15 +00:00
parent 8edda16155
commit 335c21395a

View File

@@ -91,7 +91,7 @@ Or connect to an external database:
```bash
docker run -p 3000:3000 \
-e DATABASE_URL="******your-external-db:5432/mydb" \
-e DATABASE_URL="postgresql://username:password@your-external-db:5432/mydb" \
-e JWT_SECRET=your_secret_here \
postgres-app
```
@@ -166,12 +166,12 @@ The included PostgreSQL in Docker is just the default option. You can connect to
**PostgreSQL:**
```env
DATABASE_URL=******localhost:5432/mydb
DATABASE_URL=postgresql://username:password@localhost:5432/mydb
```
**MySQL:**
```env
DATABASE_URL=mysql://user:password@localhost:3306/mydb
DATABASE_URL=mysql://username:password@localhost:3306/mydb
```
**SQLite:**