How to change the database name dynamically?


As you’re already aware of the fact that I’m planning to use the application as a multi-tenanted one. Since that is not available in the free version, I’m planning to launch it as deploying multiple instances in the same server.

For that, I’m planning to use Docker to make them running in separate containers. Is that alright?

But Database name would be a roadblock for this method. How to change the database name dynamically? Which file I should modify for that?

For eg, if the default database name is trudesk, I want to modify it as trudesk-user1 like that.

How can I achieve that @polonel? Thanks in advance.

And does this project have .env file?

Hi @polonel, can you please help here?