pool.js was using DB_HOST/DB_USER/etc which were never set. The docker-compose.yml passes DATABASE_URL. Parse that if present, fall back to individual vars for local dev. |
||
|---|---|---|
| .. | ||
| src | ||
| .env.example | ||
| .gitignore | ||
| Dockerfile | ||
| package.json | ||
pool.js was using DB_HOST/DB_USER/etc which were never set. The docker-compose.yml passes DATABASE_URL. Parse that if present, fall back to individual vars for local dev. |
||
|---|---|---|
| .. | ||
| src | ||
| .env.example | ||
| .gitignore | ||
| Dockerfile | ||
| package.json | ||