omi icon indicating copy to clipboard operation
omi copied to clipboard

one-click deployment for omi system ($300)

Open beastoin opened this issue 11 months ago • 10 comments

objective: ensure backend developers can easily run the omi system on their own hardware. ideally, any customer with a low level of technical expertise should be able to run it effortlessly.

i need to support one-click deployment for the omi backend.

omi backend doc: https://docs.omi.me/doc/developer/backend/Backend_Setup

you should learn about omi charts (k8s) and docker files first.

rec: refer to dify as a good example https://github.com/langgenius/dify, but feel free to let me know if there's a better approach.

beastoin avatar Dec 26 '25 03:12 beastoin

One-click deployment is not a big deal. Before the Omi backend can run successfully, you must spend a few days registering and setting up GCP, buckets, Redis, Deepgram, Pinecone, Typesense, and other services.

How to achieve the goal (any customer with a low level of technical expertise should be able to run it effortlessly):

  1. Review all backend setup documentation and carefully describe each step
  2. Create scripts (and instructions for AI agents as well!) to help properly set up external services
  3. Add ready-to-go instances and expert services

romamo avatar Dec 26 '25 11:12 romamo

Hi @beastoin , I’m starting to work on improving the OMI backend deployment experience.

My plan is to containerize the backend using Docker and provide a Docker Compose–based one-click deployment flow, similar to how projects like Dify handle self-hosting.

The goal is to eliminate local environment setup (Python, dependencies, system packages, process management) while keeping required external credential setup (OAuth, Firebase) explicit and well-documented.

Will share progress and PRs soon 🚀 !!

joshijoe05 avatar Dec 28 '25 08:12 joshijoe05

Hi @beastoin - I’ve completed the one-click Docker Compose deployment as requested.

PR #4006 is ready for review and includes:

  • Full docker-compose orchestration.
  • Local mocks to address external dependency issues (Pinecone, Deepgram, etc.) by providing local fallbacks, allowing the system to run immediately without API keys.
  • Automated setup via a setup.sh script that generates secure secrets and manages configuration.

It has passed an initial automated review, and security updates have been applied.

fayerman-source avatar Jan 03 '26 09:01 fayerman-source

@beastoin Thanks for the feedback - I understand you want functional verification, not just "services start."

I just got my hands on a Dev Kit 2, so I can now test the full device-to-backend flow.

Before investing more time, I want to clarify scope. As romamo noted on this issue, the external service setup (GCP, Deepgram, Pinecone, etc.) is a separate challenge from Docker orchestration.

What I can deliver for this bounty:

  • Docker orchestration with one-click startup
  • Verified device sync to local backend (tested via Dev Kit 2)
  • Basic API operations (CRUD for memories, action items) with local storage
  • Clear documentation of which features require external API keys

What seems out of scope for $300:

  • Replacing Deepgram/OpenAI/Pinecone with local alternatives
  • Automating the multi-day external service registration process

Is a "development mode" deployment with documented limitations useful for backend developers? That would let them test integrations and UI against a working API structure before adding real credentials.

Happy to proceed once the target is clear.

fayerman-source avatar Jan 11 '26 01:01 fayerman-source

@beastoin is this still open ?

MithilSaiReddy avatar Feb 08 '26 08:02 MithilSaiReddy

Submitted PR #4732 — one-click docker compose up with real local services (Firebase Emulator, Redis, Typesense, Qdrant) instead of mocks. All data flows through real storage/search/vector engines so the backend behaves identically to production. No external API keys required to start (just OpenAI if you want LLM features).

Iansabia avatar Feb 11 '26 01:02 Iansabia

Project board cleanup: this issue is marked In progress on the project board. @beastoin — is this still actively being worked on? If not, we'll move it to Someday.

beastoin avatar Feb 27 '26 03:02 beastoin

I'll take this!

I'll create a one-click deployment solution using Docker Compose + setup script.

Plan:

  1. Docker Compose file with all services
  2. Setup script (install.sh)
  3. Documentation (README.md)

Timeline: 2-3 days

zhaog100 avatar Mar 28 '26 00:03 zhaog100

Hey @beastoin, I want to take a real shot at this one. I went through all three previous PRs and the Greptile review on #6093. I can see exactly why they got closed. Wrong build context, missing env_file, wrong Redis variable names, unnecessary PostgreSQL that the backend never uses, health check hitting /health instead of /v1/health, and a .env template that only covered 5 of the 30+ variables in backend/.env.template. Before I write anything I want to make sure I understand the actual goal. Are you looking for a developer mode deployment that works with real credentials plugged in, or a fully self hosted production setup that handles the external service registration flow too? That answer changes the scope significantly and I do not want to submit something that misses the mark. Happy to share my full approach once I hear back.

ekawough avatar Apr 13 '26 16:04 ekawough

PR #7035 is an updated version of PR #6887 addressing all greptile P2 comments. The original PR branch (bounty/3919-one-click-deployment-for-omi-system---30) was not directly writable from my fork, so I've pushed the fixes to a new branch and opened PR #7035.

Changes in #7035:

  • BASH_SOURCE[0] fallback with /opt/homebrew/bin/bash for piped/ sourced invocation
  • Correct FIREBASE_API_KEY and OPENAI_API_KEY sed replacement variable names
  • Bind Redis and Typesense to 127.0.0.1 instead of 0.0.0.0
  • .env.example references instead of non-existent .env.docker

Happy to close either PR per maintainer preference.

moneysavvy avatar Apr 26 '26 11:04 moneysavvy