# Standard required environment variables. Their values should match the values used for the existing Retool backend service.
COOKIE_INSECURE
WEBSOCKET_ALLOWED_ORIGIN # Supports '*' wildcard
POSTGRES_HOST
POSTGRES_PORT
POSTGRES_DB
POSTGRES_USER
POSTGRES_SSL_ENABLED
POSTGRES_PASSWORD
ENCRYPTION_KEY
JWT_SECRET
LICENSE_KEY
```

:::important

Beginning in the Q2 2026 stable release, the `LICENSE_KEY` environment variable will be required for the multiplayer service. Retool recommends setting it now to avoid any service interruptions.

:::

### Configure web proxy

Configure the web proxy to route traffic for `api/multiplayer/*` to the new multiplayer service. All other traffic should route to the regular Retool backend service.

The following code snippet is an example [nginx](https://www.f5.com/go/product/welcome-to-nginx) configuration that achieves this. Note that this example does not include SSL termination and omits unrelated settings, so your actual config may look slightly different.

```