Commit this blueprint to a repo and create it in Render under Blueprints → New. A disk needs a paid instance; on the free plan the service sleeps (dropping every connection) and data resets.
render.yaml
1234567891011121314151617services: - type: web name: my-socket runtime: image image: url: ghcr.io/astrit/slash-socket-server:latest plan: starter healthCheckPath: /health envVars: - key: SOCKET_ADMIN_KEY generateValue: true - key: SOCKET_DATA_DIR value: /data disk: name: socket-data mountPath: /data sizeGB: 1Render sets PORT and serves TLS. Copy SOCKET_ADMIN_KEY from the service's Environment page, and add your domain under Settings → Custom Domains.
Then manage it from your Mac: in Slash Socket open Fields → + Server, enter its address and admin key, and push a manifest (or set SOCKET_MANIFEST). Pages connect to wss://your-domain with the client from https://your-domain/client.js.