trypear / pearai-app

PearAI: Open Source AI Code Editor (Fork of VSCode). The PearAI Submodule (https://github.com/trypear/pearai-submodule) is a fork of Continue.
https://trypear.ai
MIT License
179 stars 60 forks source link

How to Run PearAI in a Docker Container and Access It from a Browser? #68

Open Am0stafa opened 1 week ago

Am0stafa commented 1 week ago

Hi, I'm interested in running PearAI inside a container and making it accessible from a web browser. My goal is to deploy PearAI to a powerful cloud VPS, so I can access the IDE remotely via any browser.

I have experience using code-server to run VSCode in a container and access it from the browser, as well as using KasmVNC with the official VSCode Docker image. I would like to achieve a similar setup with PearAI.

Requirements:

  1. Containerize PearAI for deployment on a cloud VPS.
  2. Make the PearAI IDE accessible from a browser.
  3. Optionally, use a web-based interface such as VNC or similar, if required.

Questions:

  1. What is the recommended approach for containerizing PearAI?
  2. Are there any existing Docker images or configurations for running PearAI in a containerized environment?
  3. Should I follow a similar setup to code-server, or is there a preferred method for PearAI?
  4. Are there any specific configurations or settings needed to enable browser-based access for PearAI?

Additional Context:

Thank you for your assistance!

Am0stafa commented 1 week ago

@Fryingpannn please support