Skip to content

Commit b25c43c

Browse files
Merge branch 'staging' into feat/table-trigger
2 parents 317473f + 47208e0 commit b25c43c

449 files changed

Lines changed: 7731 additions & 4995 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.devcontainer/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ services:
2121
- COPILOT_API_KEY=${COPILOT_API_KEY}
2222
- SIM_AGENT_API_URL=${SIM_AGENT_API_URL}
2323
- OLLAMA_URL=${OLLAMA_URL:-http://localhost:11434}
24-
- NEXT_PUBLIC_SOCKET_URL=${NEXT_PUBLIC_SOCKET_URL:-http://localhost:3002}
24+
- NEXT_PUBLIC_SOCKET_URL=${NEXT_PUBLIC_SOCKET_URL:-}
2525
- BUN_INSTALL_CACHE_DIR=/home/bun/.bun/cache
2626
depends_on:
2727
db:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,4 @@ i18n.cache
8080
## Claude Code
8181
.claude/launch.json
8282
.claude/worktrees/
83+
.claude/scheduled_tasks.lock

apps/docs/content/docs/de/self-hosting/docker.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ ENCRYPTION_KEY=$(openssl rand -hex 32)
2929
INTERNAL_API_SECRET=$(openssl rand -hex 32)
3030
NEXT_PUBLIC_APP_URL=https://sim.yourdomain.com
3131
BETTER_AUTH_URL=https://sim.yourdomain.com
32-
NEXT_PUBLIC_SOCKET_URL=https://sim.yourdomain.com
3332
EOF
3433
```
3534

apps/docs/content/docs/de/self-hosting/environment-variables.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { Callout } from 'fumadocs-ui/components/callout'
1515
| `ENCRYPTION_KEY` | Verschlüsselungsschlüssel (32 Hex-Zeichen): `openssl rand -hex 32` |
1616
| `INTERNAL_API_SECRET` | Internes API-Secret (32 Hex-Zeichen): `openssl rand -hex 32` |
1717
| `NEXT_PUBLIC_APP_URL` | Öffentliche App-URL |
18-
| `NEXT_PUBLIC_SOCKET_URL` | WebSocket-URL (Standard: `http://localhost:3002`) |
18+
| `NEXT_PUBLIC_SOCKET_URL` | Optional. WebSocket-URL — verwendet standardmäßig den Seitenursprung; nur setzen, wenn Realtime auf einem separaten Host läuft. |
1919

2020
## KI-Anbieter
2121

@@ -80,7 +80,6 @@ BETTER_AUTH_URL=https://sim.yourdomain.com
8080
ENCRYPTION_KEY=<openssl rand -hex 32>
8181
INTERNAL_API_SECRET=<openssl rand -hex 32>
8282
NEXT_PUBLIC_APP_URL=https://sim.yourdomain.com
83-
NEXT_PUBLIC_SOCKET_URL=https://sim.yourdomain.com
8483
OPENAI_API_KEY=sk-...
8584
```
8685

apps/docs/content/docs/de/self-hosting/platforms.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ ENCRYPTION_KEY=$(openssl rand -hex 32)
7777
INTERNAL_API_SECRET=$(openssl rand -hex 32)
7878
NEXT_PUBLIC_APP_URL=https://sim.yourdomain.com
7979
BETTER_AUTH_URL=https://sim.yourdomain.com
80-
NEXT_PUBLIC_SOCKET_URL=https://sim.yourdomain.com
8180
EOF
8281

8382
# Start

apps/docs/content/docs/de/self-hosting/troubleshooting.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ OLLAMA_URL=http://192.168.1.x:11434 # Linux (use actual IP)
2727

2828
## WebSocket/Echtzeit funktioniert nicht
2929

30-
1. Prüfen Sie, ob `NEXT_PUBLIC_SOCKET_URL` mit Ihrer Domain übereinstimmt
30+
1. Stellen Sie sicher, dass der Reverse Proxy `/socket.io` an den Realtime-Service (Standardport 3002) weiterleitet. `NEXT_PUBLIC_SOCKET_URL` ist nur erforderlich, wenn Realtime auf einem separaten Host läuft.
3131
2. Überprüfen Sie, ob der Echtzeit-Dienst läuft: `docker compose ps realtime`
3232
3. Stellen Sie sicher, dass der Reverse-Proxy WebSocket-Upgrades weiterleitet (siehe [Docker-Anleitung](/self-hosting/docker))
3333

apps/docs/content/docs/en/self-hosting/docker.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ ENCRYPTION_KEY=$(openssl rand -hex 32)
3030
INTERNAL_API_SECRET=$(openssl rand -hex 32)
3131
NEXT_PUBLIC_APP_URL=https://sim.yourdomain.com
3232
BETTER_AUTH_URL=https://sim.yourdomain.com
33-
NEXT_PUBLIC_SOCKET_URL=https://sim.yourdomain.com
3433
EOF
3534
```
3635

apps/docs/content/docs/en/self-hosting/environment-variables.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { Callout } from 'fumadocs-ui/components/callout'
1515
| `ENCRYPTION_KEY` | Encryption key (32 hex chars): `openssl rand -hex 32` |
1616
| `INTERNAL_API_SECRET` | Internal API secret (32 hex chars): `openssl rand -hex 32` |
1717
| `NEXT_PUBLIC_APP_URL` | Public app URL |
18-
| `NEXT_PUBLIC_SOCKET_URL` | WebSocket URL (default: `http://localhost:3002`) |
18+
| `NEXT_PUBLIC_SOCKET_URL` | Optional. WebSocket URL — defaults to the page origin; set only if realtime is on a separate host. |
1919

2020
## AI Providers
2121

@@ -80,7 +80,6 @@ BETTER_AUTH_URL=https://sim.yourdomain.com
8080
ENCRYPTION_KEY=<openssl rand -hex 32>
8181
INTERNAL_API_SECRET=<openssl rand -hex 32>
8282
NEXT_PUBLIC_APP_URL=https://sim.yourdomain.com
83-
NEXT_PUBLIC_SOCKET_URL=https://sim.yourdomain.com
8483
OPENAI_API_KEY=sk-...
8584
```
8685

apps/docs/content/docs/en/self-hosting/platforms.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ ENCRYPTION_KEY=$(openssl rand -hex 32)
7070
INTERNAL_API_SECRET=$(openssl rand -hex 32)
7171
NEXT_PUBLIC_APP_URL=https://sim.yourdomain.com
7272
BETTER_AUTH_URL=https://sim.yourdomain.com
73-
NEXT_PUBLIC_SOCKET_URL=https://sim.yourdomain.com
7473
EOF
7574

7675
# Start

apps/docs/content/docs/en/self-hosting/troubleshooting.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ OLLAMA_URL=http://192.168.1.x:11434 # Linux (use actual IP)
2727

2828
## WebSocket/Realtime Not Working
2929

30-
1. Check `NEXT_PUBLIC_SOCKET_URL` matches your domain
30+
1. Verify reverse proxy routes `/socket.io` to the realtime service (default port 3002). `NEXT_PUBLIC_SOCKET_URL` is only needed if realtime is on a separate host.
3131
2. Verify realtime service is running: `docker compose ps realtime`
3232
3. Ensure reverse proxy passes WebSocket upgrades (see [Docker guide](/self-hosting/docker))
3333

0 commit comments

Comments
 (0)