Docker cleanup: taskosaur references, root user, stale compose files #32

Closed
opened 2026-03-14 13:33:35 +00:00 by Rockachopa · 0 comments
Owner

What

The Docker setup has issues:

  1. docker-compose.yml references taskosaur — includes postgres and redis services for "Taskosaur PM" which doesn't appear to exist anywhere in the Python codebase (0 references)
  2. Runs as root (user: "0:0") in dev — comment says it's for bind-mount permissions on macOS, but this is a security risk
  3. Three compose filesdocker-compose.yml, docker-compose.dev.yml, docker-compose.prod.yml — likely redundant. One file with profiles would be simpler.
  4. OLLAMA_URL points to host — uses host.docker.internal which only works on Docker Desktop, not OrbStack or Linux

What to do

  1. Remove taskosaur, postgres, redis services if they're unused
  2. Fix the root user issue — use proper UID mapping or named volumes
  3. Consolidate compose files
  4. Fix OLLAMA_URL for OrbStack compatibility (you have OrbStack installed)

Files

  • docker-compose.yml — clean up
  • docker-compose.dev.yml — evaluate merge
  • docker-compose.prod.yml — evaluate merge

Estimated effort: 1-2 hours

## What The Docker setup has issues: 1. **`docker-compose.yml` references taskosaur** — includes postgres and redis services for "Taskosaur PM" which doesn't appear to exist anywhere in the Python codebase (0 references) 2. **Runs as root** (`user: "0:0"`) in dev — comment says it's for bind-mount permissions on macOS, but this is a security risk 3. **Three compose files** — `docker-compose.yml`, `docker-compose.dev.yml`, `docker-compose.prod.yml` — likely redundant. One file with profiles would be simpler. 4. **OLLAMA_URL points to host** — uses `host.docker.internal` which only works on Docker Desktop, not OrbStack or Linux ## What to do 1. Remove taskosaur, postgres, redis services if they're unused 2. Fix the root user issue — use proper UID mapping or named volumes 3. Consolidate compose files 4. Fix OLLAMA_URL for OrbStack compatibility (you have OrbStack installed) ## Files - `docker-compose.yml` — clean up - `docker-compose.dev.yml` — evaluate merge - `docker-compose.prod.yml` — evaluate merge ## Estimated effort: 1-2 hours
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#32