SShortSingh.
Back to feed

Self-Hosting Ollama and Open WebUI on a Linux VPS with Docker and Caddy

0
·7 views

This guide shows how to run Ollama 0.40.18 and Open WebUI v0.13.4 on an Ubuntu 24.04 VPS using Docker Compose, with Caddy providing automatic HTTPS. The setup delivers a private AI chat interface and local model API with predictable monthly costs and no third-party data sharing. Because a CPU-only VPS handles inference through system memory, the article recommends it for personal or small-team use and background automations rather than heavy concurrent traffic. A sizing table maps VPS memory tiers to suitable 4-bit quantized models, with a rule of thumb that an 8B model needs about 5 to 6 GB of RAM for weights alone. The configuration keeps Ollama's port 11434 on the private Docker network, since Ollama has no built-in authentication, and disables public signups after the admin account is created.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Checking LED COB Lighting Schedules in Python: Watts, VA and Power Factor

A DEV Community post explains that total wattage alone can understate the electrical load of LED COB lighting on commercial sites. Power factor, which is often unstated, determines how much apparent power (VA) and current a fitting draws beyond its rated watts. Voltage sag during peak demand and inrush current at switch-on can also affect breakers and generator sizing. To address this, the author presents a standard-library Python script that reads a lighting schedule in CSV form and reports watts, VA and current per circuit at 230 V and 200 V. The script flags fittings with assumed power factors and notes missing inrush data, and it is presented as a checking aid rather than a replacement for a consultant's design.

0
ProgrammingDEV Community ·

Solo developer builds encrypted AI memory vault with multiple agents in eight hours

On November 28, 2026, a developer launched ownmem, an encrypted memory vault designed to be shared across several AI assistants, taking it from an unregistered domain to four live sites in roughly eight hours. Most of the code was written by multiple AI agents working in parallel, with the developer setting direction and reviewing their output. The product stores users' memories as Markdown files encrypted in the browser, with the server holding only ciphertext, and connects to tools like ChatGPT, Claude, Codex and Cursor via MCP. A key design challenge was letting agents read memory without the server decrypting it, which is handled by relaying requests to an open, unlocked browser tab that decrypts locally. The developer acknowledges trade-offs, including the need for the tab to stay open and an opt-in shared-folder mode that is not zero-knowledge, while cautioning against overstating the privacy guarantees since model providers still process conversation content.

0
ProgrammingDEV Community ·

How One Team Cut Page Load Time from 6 Seconds to 1.8 Seconds

A client's product page took six seconds to display its main content on a mid-range phone over 4G, and its bounce rate was rising. Over two sprints, the team focused on a series of small, measurable fixes rather than a framework rewrite or a bigger server. The largest gain came from the hero image, which was an oversized PNG that was also lazy-loaded; converting it to AVIF, serving appropriately sized versions, and prioritizing its download made a major difference. Further improvements came from route-level code splitting and replacing heavy libraries, which roughly halved the initial JavaScript. The team tracked Largest Contentful Paint as its main metric, using Lighthouse and bundle analysis tools to pinpoint bottlenecks before changing code.

0
ProgrammingDEV Community ·

مؤسس يروي تقدمه لـY Combinator ثلاث عشرة مرة وتطور أفكاره عبر الطلبات

يتحدث مؤسس شركة VISXA عن تقديمه لبرنامج Y Combinator ثلاث عشرة مرة منذ شتاء 2021 حتى صيف 2026 دون أن يُقبل في أي منها. يعود إلى نصوص طلباته القديمة ليتتبع الفرق بين الأفكار التي كانت قيد البحث والمنتجات التي وصلت فعلًا إلى المستخدمين. تنتقل المبادرات من مساعدة المسافرين في طلبات التأشيرات إلى نماذج توجّه المغتربين وروّاد الأعمال الدوليين إلى الخدمات المناسبة. يقدّم المقال أيضًا شريكه أنتوني بَر ومنتجه الجديد: غطاء فولاذي لحماية أطراف الأوتاد في مواقع البناء، وقد دخل الاستخدام التجاري بحسب الطلب الأخير. ويقترح الكاتب على مؤسسي المشروعات مقارنة إجاباتهم عن سؤال التقدم عبر الزمن لمعرفة ما كان يقدمه المنتج فعلًا في كل مرحلة.