Tag: Exploring AI

  • Unlock AI Power: Run DeepSeek Locally on OpenMediaVault with Docker Compose

    Unlock AI Power: Run DeepSeek Locally on OpenMediaVault with Docker Compose

    Introduction
    OpenMediaVault (OMV) is a versatile, open-source NAS platform perfect for self-hosted workflows. By combining it with Docker, you can deploy powerful tools like DeepSeek—a state-of-the-art AI model optimized for coding, mathematics, and logical tasks—directly on your hardware. This guide walks you through running DeepSeek on OMV using Docker Compose, Ollama (for local AI management), and Open WebUI (a user-friendly interface), bypassing cloud dependencies and keeping your data private.


    Why Host DeepSeek on Your OMV Server?

    1. Full Data Control:
      Avoid sending sensitive code, financial data, or proprietary information to third-party servers.
    2. Offline Accessibility:
      Use DeepSeek even without an internet connection—ideal for labs or remote workspaces.
    3. Hardware Flexibility:
      Scale resources based on your needs. Run smaller models on modest hardware or leverage GPU acceleration for complex tasks.

    Step-by-Step Installation Guide

    Prerequisites

    • OpenMediaVault (v6.x+) with OMV-Extras and Docker installed.
    • A shared folder for Docker data (e.g., docker).
    • At least 8GB of RAM (16GB+ recommended for larger models).

    Step 1: Prepare Docker Directories

    1. In the OMV web interface, go to Storage > Shared Folders.
    2. Create subfolders for Ollama and Open WebUI under your existing Docker shared folder:
      • ollama (to store AI models)
      • open-webui (to store UI settings and chat history)

    Step 2: Create the Docker Compose File

    1. Navigate to Services > Compose > Files in the OMV interface.
    2. Click Create, name the file deepseek.yml, and paste the following configuration:
    version: "3.8"services:  ollama:    image: ollama/ollama    ports:      - "11434:11434"    volumes:      - /sharedfolders/docker/ollama:/root/.ollama  # Use your shared folder path    restart: unless-stopped  open-webui:    image: ghcr.io/open-webui/open-webui:main    ports:      - "8080:8080"    environment:      - OLLAMA_BASE_URL=http://ollama:11434    volumes:      - /sharedfolders/docker/open-webui:/app/backend/data    depends_on:      - ollama    restart: unless-stopped

    Notes:

    • Replace /sharedfolders/docker with your actual Docker shared folder path (visible under Storage > Shared Folders).
    • The ollama service hosts the AI models, while open-webui provides the chat interface.

    Step 3: Deploy the Stack

    1. In the OMV Compose plugin interface, select the deepseek.yml file.
    2. Click Up to start the containers.
    3. Verify the status under Services > Compose > Containers—both ollama and open-webui should show as “Running.”

    Step 4: Access Open WebUI

    1. Open http://<your-omv-ip>:8080 in a browser.
    2. Create an admin account (disable public sign-ups later via Settings > Authentication).

    Step 5: Download the DeepSeek Model

    1. Option 2: Via Open WebUI:
      • Go to the Models tab.
      • Search for deepseek-coder:33b and click Download.

    Option 1: Via OMV’s CLI (SSH or Services > SSH > Terminal):

    docker exec -it ollama ollama pull deepseek-coder:33b

    Step 6: Start Using DeepSeek

    Select the deepseek-coder:33b model from the dropdown and ask questions like:

    • “Write a script to back up my OMV shared folders to an external drive.”
    • “Optimize this Python code for memory efficiency.”

    Conclusion & Pro Tips

    You’ve now transformed your OpenMediaVault server into a private AI workstation. To optimize your setup:

    1. Integrate with OMV Workflows:
      Use Ollama’s API (port 11434) to connect DeepSeek to automation scripts or cron jobs.
    2. Monitor Resource Usage:
      Check OMV’s System > Performance Statistics to ensure RAM/CPU stays within limits.
    3. Update Containers:
      Periodically refresh your Docker images via the Compose plugin:
      • Click Pull for the deepseek.yml stack, then Down and Up to restart.
    4. Experiment with Models:
      Try smaller models like deepseek-coder:6.7b for faster responses or quantized versions for lower RAM usage.

    Final Checklist:

    • [ ] Verify shared folder permissions match Docker’s requirements.
    • [ ] Set up OMV’s firewall (Network > Firewall) to restrict external access to port 8080 if needed.
    • [ ] Explore Open WebUI’s prompt templates for coding or math-specific tasks.

    With DeepSeek running locally on OMV, you’re equipped to tackle complex challenges while maintaining full ownership of your data. Happy coding!

  • Exploring the Best Free AI Apps for Your Phone

    Exploring the Best Free AI Apps for Your Phone

    In today’s fast-paced world, artificial intelligence (AI) has become an integral part of our daily lives. From enhancing productivity to providing entertainment, AI apps are revolutionizing the way we interact with technology. In this blog post, we’ll explore some of the best free AI apps available for your phone, based on personal experiences and user feedback.

    ChatGPT: The Versatile AI

    ChatGPT is a multi-functional AI app that has gained popularity for its versatility. With the addition of the o3-mini model to the free package, ChatGPT has become a must-have app. It can assist with various tasks, from answering questions to generating creative content. Users appreciate its ability to provide accurate and relevant information, making it a valuable tool for both personal and professional use.

    DeepSeek: A Strong Contender

    DeepSeek is another free AI app that rivals ChatGPT Plus in terms of functionality. It offers a range of features that make it a top choice for users concerned about security. While there are some concerns about data privacy, DeepSeek’s capabilities make it a strong contender in the AI app market. Its ability to perform complex tasks and provide insightful responses has earned it a loyal user base.

    Perplexity: The Google Replacement

    Perplexity is an AI app that aims to replace traditional search engines like Google. It offers intelligent and free search capabilities, making it a convenient tool for finding information quickly. Users have expressed a desire for a shortcut to access Perplexity on their phones, highlighting its popularity and usefulness. Whether you’re looking for quick answers or in-depth research, Perplexity is a reliable choice.

    Notion AI: Basic Note Management

    Notion AI is designed for basic note management and synchronization across different platforms, including Apple and Windows devices. It helps users organize their thoughts and tasks efficiently, making it a valuable tool for productivity. While it may not have all the advanced features of other AI apps, its simplicity and ease of use make it a favorite among users who need a straightforward note-taking solution.

    Meta AI: The Facebook Specialist

    Meta AI, integrated into the Messenger app, provides free AI assistance for Facebook-related queries. Although it may not be as advanced as other AI apps, it excels in providing accurate information about Facebook. Users find it particularly useful for navigating the platform and getting quick answers to their questions. If you’re an avid Facebook user, Meta AI is a handy tool to have.

    Monica AI: The Multi-Purpose Assistant

    Monica AI is a versatile and easy-to-use AI app that offers 40 free tokens daily. It can assist with a wide range of tasks, from answering questions to providing recommendations. Users appreciate its user-friendly interface and the variety of functions it offers. Whether you need help with daily tasks or want to explore new ideas, Monica AI is a reliable companion.

    Copilot: The All-Rounder

    Copilot is a free AI app that, despite its limitations, can perform a variety of tasks. Users have found it to be a helpful tool for different purposes, from generating content to providing support. While it may not be the most advanced AI app, its ability to handle multiple tasks makes it a valuable addition to your phone.

    Gemini: The Compact Powerhouse

    Gemini is a small but powerful AI app that offers a range of features. Despite its compact size, it provides a comprehensive set of tools for users. From answering questions to providing recommendations, Gemini is a reliable and efficient AI app. Its ability to deliver results quickly and accurately makes it a favorite among users who need a compact yet powerful AI assistant.

    Conclusion

    AI apps have become essential tools in our daily lives, offering a range of functionalities that enhance productivity and provide entertainment. Whether you’re looking for a versatile assistant like ChatGPT or a specialized tool like Meta AI, there’s an AI app out there to meet your needs. Explore these free AI apps and discover how they can make your life easier and more efficient.