Feature Request: Don't name containers in docker-compose.yml or assign them random names prefixed with supabase · Issue #28 · supabase/cli · GitHub
Skip to content

Feature Request: Don't name containers in docker-compose.yml or assign them random names prefixed with supabase #28

Description

@ff6347

Feature request

the problem

Naming containers in docker-compose makes it impossible to have two supabase projects side by side

While exploring supabase locally I had the problem that I needed to spin up another supabase setup to verify if I messed up my current setup. Due to the setting the container_name in docker-compose.yml it is not possible to spin up another instance without getting an error that this name is already in use.

It is nice to have a defined container name, but I don't see any benefit except for easier identification when running docker ps or docker container ls.

the solution

Maybe the cli can create a random name and prefix it with supabase-.

the alternative

The only alternative here is ejecting the project or editing the files in .supabase/ manually

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions