Skip to content

Tweaked to allow multiple parallel instances#2

Open
MBybee wants to merge 4 commits intowebysther:mainfrom
MBybee:main
Open

Tweaked to allow multiple parallel instances#2
MBybee wants to merge 4 commits intowebysther:mainfrom
MBybee:main

Conversation

@MBybee
Copy link

@MBybee MBybee commented Feb 19, 2026

Adjusted the .env and docker compose files to allow for customization to make it easy to run multiple parallel instances with different project names, orgs, settings, and dbs. Added a .env_1 to show an example of this customization.

This was tested a fair bit (currently in use with a 3 system landscape on one docker host right now). No changes should be required to the docker compose, just duplicate the core repo directory, adjust the .env file details, and run "docker compose up -d" to deploy, or "docker compose down -v" to destroy.

It does make it slightly less 'minimal', but hopefully only somewhat.

Hope this is useful! Your fork of Supabase was a massive improvement over the core, and far more efficient in practice.
Thanks so much.

Adjusted the .env and docker compose files to allow for customization to make it easy to run multiple parallel instances with different project names, orgs, settings, and dbs.
Added a .env_1 to show an example of this customization. 
This was tested a fair bit (currently in use with a 3 system landscape on one docker host right now). No changes should be required to the docker compose, just clone off multiple copies of the repo directory, adjust the .env file details, and run "docker compose up -d" to deploy, or "docker compose down -v" to destroy.
Decided to have a few less defaults, they're just a bit messy and it felt a little inconsistent.
@webysther
Copy link
Owner

Thanks for the contribution, just a few changes:

  • Change ${PROJECT_NAME} to use ${COMPOSE_PROJECT_NAME} in this way using another name or folder will be enough
  • Rename .env_1 to .parallel.env

@MBybee
Copy link
Author

MBybee commented Feb 20, 2026

Will do!

Switching from ${PROJECT_NAME} to ${COMPOSE_PROJECT_NAME}
Removed old file
@MBybee
Copy link
Author

MBybee commented Feb 20, 2026

Ok, made that change to the .yml and .env, plus the rename. Not used to the fork PR workflow, but I think it's updated.

Hopefully I understood your feedback properly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants