Feature Request: Non-Root Container Support for Kubernetes / OpenShift Deployments
Summary The current Docker image runs all processes (nginx, redis, ollama, FastAPI, Next.js) as root. This prevents deployment on Kubernetes clusters with restricted Pod Security Standards and on OpenShift (which enforces non-root by default via SecurityContextConstraints). Problem Many enterprise and on-premise environments enforce strict security policies: ∙ OpenShift runs containers as a random non-root UID by default (restricted-v2 SCC) ∙ Kubernetes Pod Security Standards (restricted profile) require runAsNonRoot: true and allowPrivilegeEscalation: false ∙ Corporate security policies often mandate non-root containers Currently, Presenton cannot be deployed in these environments without significant modifications because: 1. Nginx binds to port 80 — requires root or CAP_NET_BIND_SERVICE 2. Redis is started via service redis-server start — requires init system and root privileges 3. Ollama is bundled in the same container — increases image size, prevents independent GPU scheduling, and complicates non-root setup 4. No dedicated non-root user is created in the Dockerfile 5. /app/user_data permissions — bind-mounted volumes from the host may have root ownership, causing EACCES errors
Source: presenton/presenton