Dokploy / dokploy

Open Source Alternative to Vercel, Netlify and Heroku.
https://dokploy.com/
Other
9.32k stars 459 forks source link

PocketBase Template Overlap Between Two Projects #728

Closed IcelabsSolutionsInc closed 3 days ago

IcelabsSolutionsInc commented 3 days ago

To Reproduce

Create a new project (Project A) and initialize it with the PocketBase template. Verify that PocketBase is set up correctly for Project A. Create another project (Project B) and attempt to initialize it with a new PocketBase template. Observe that Project B's PocketBase instance is the same as Project A's.

Current vs. Expected behavior

I am experiencing an issue where the PocketBase template is not creating a separate instance for a new project. Here is the situation:

Project A: I set up the PocketBase template, and it is working fine. Project B: When I try to set up the PocketBase template here, it does not create a new, separate instance. Instead, it uses the same PocketBase instance as Project A. As a result, any data or configurations in Project A's PocketBase are also showing up in Project B's PocketBase. This behavior prevents me from having independent databases for my projects.

When setting up the PocketBase template for Project B, it should create a new and independent instance of PocketBase, separate from Project A.

Provide environment information

Operating System: Ubuntu 22
PocketBase
NextJS
Project Setup Tool: npm

Which area(s) are affected? (Select all that apply)

Application, Databases, Docker Compose

Additional context

No response

IcelabsSolutionsInc commented 3 days ago

image

we can change the path of the volumes in general tab which will fix this issue.