Identify instance with scaled Retool

Im starting to scale out our on prem Retool, i'm moving our PostgresDB to a dedicated VM and i have 2 seperate docker VM's for serving the Retool instances.

Is there a way to identify what instance a user is connected to for testing/error checking etc when coming through a load balanced link? As in instance name that can be viewed in a text component?

Allow me to explain further,

I have other non Retool applications that are load balanced and what i do is modify the splash screen image ever so slightly to identify what instance the user is connected to. I don't think that can be done on Retool since everything is held on the PostgresDB. That way a user can advise of an outage and i can ask them what instance they are connected and it allows me to identify an outage quicker instead of checking each instance.

urlParams will show the load balanced URL and not what Docker container is serving the user.

I dont think i can set two seperate enviorments? Currently set to environment: "production". If i set this to example environment: "node1" and environment: "node2" i don't think i would be able to push code changes to both envirorments at the same time and have both enviorments served to the user? Or could i?

What im looking for is a way to 'tag' the Instance that served and have that available in Retool, similar to how i can set my Docker.env file to include PGAPPNAME=my-application allowing me to monitor what instance ran a query on the PostgresDB server.

Hey @rcanpolat!

If you're looking to scale Retool across multiple containers you might want to check out these docs and consider exploring one of the recommended orchestration services.

Retool isn't built to have two distinct instances that just point to the same storage database. Typically, separate instances will have their own databases and be synced via source control (docs). When you have separate instances, it's possible to set different environment variables prefixed withRETOOL_EXPOSED_ that you can reference in resource setups, for instance, to be able to distinguish between them. More docs on that last point here.

Let me know if that helps or raises additional questions!