[P0] DATABASE_URL mismatch: .env.example uses club_manager, docker-compose uses honbu_manager #91

Closed
opened 2026-07-07 16:21:50 +12:00 by fastie81 · 0 comments
Owner

Problem

The database name differs across configuration files:

  • .env.example line 4: DATABASE_URL=postgresql://postgres:***@postgres:5432/club_manager
  • docker-compose.yml line 16: DATABASE_URL=postgresql://postgres:***@postgres:5432/honbu_manager
  • app/config.py line 11 default: honbu_manager

This will cause connection failures when using .env.example as a template.

Expected Behavior

All configs should use the same database name (honbu_manager per docker-compose and config.py).

Fix

Update .env.example line 4 to use honbu_manager.

  • .env.example (line 4)
  • docker-compose.yml (line 16)
  • app/config.py (line 11)
### Problem The database name differs across configuration files: - `.env.example` line 4: `DATABASE_URL=postgresql://postgres:***@postgres:5432/club_manager` - `docker-compose.yml` line 16: `DATABASE_URL=postgresql://postgres:***@postgres:5432/honbu_manager` - `app/config.py` line 11 default: `honbu_manager` This will cause connection failures when using `.env.example` as a template. ### Expected Behavior All configs should use the same database name (`honbu_manager` per docker-compose and config.py). ### Fix Update `.env.example` line 4 to use `honbu_manager`. ### Related Files - `.env.example` (line 4) - `docker-compose.yml` (line 16) - `app/config.py` (line 11)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
fastie81/honbu-manager#91
No description provided.