- Fix docker-compose to read GATEWAY_WS_URL (was VITE_WS_URL, never set) - Fix gateway-relay.ts default to ws.hammer.donovankelly.xyz - Fix Elysia TS errors in error handlers (cast to any) - Add thinking/typing indicator in chat (bouncing dots) - Add message timestamps (tap to show) - Add thread renaming (double-click thread name) - Auto-resize chat input textarea
47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
version: "3.8"
|
|
|
|
services:
|
|
db:
|
|
image: postgres:16-alpine
|
|
environment:
|
|
POSTGRES_USER: ${POSTGRES_USER}
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
POSTGRES_DB: ${POSTGRES_DB}
|
|
volumes:
|
|
- pgdata:/var/lib/postgresql/data
|
|
restart: unless-stopped
|
|
|
|
backend:
|
|
build:
|
|
context: ./backend
|
|
dockerfile: Dockerfile
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
environment:
|
|
DATABASE_URL: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}
|
|
API_BEARER_TOKEN: ${API_BEARER_TOKEN}
|
|
BETTER_AUTH_SECRET: ${BETTER_AUTH_SECRET}
|
|
BETTER_AUTH_URL: https://dash.donovankelly.xyz
|
|
COOKIE_DOMAIN: .donovankelly.xyz
|
|
CLAWDBOT_HOOK_URL: ${CLAWDBOT_HOOK_URL:-https://hammer.donovankelly.xyz/hooks/agent}
|
|
CLAWDBOT_HOOK_TOKEN: ${CLAWDBOT_HOOK_TOKEN}
|
|
GATEWAY_WS_URL: ${GATEWAY_WS_URL:-wss://ws.hammer.donovankelly.xyz}
|
|
GATEWAY_WS_TOKEN: ${GATEWAY_WS_TOKEN}
|
|
PORT: "3100"
|
|
depends_on:
|
|
- db
|
|
restart: unless-stopped
|
|
|
|
frontend:
|
|
build:
|
|
context: ./frontend
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "80"
|
|
depends_on:
|
|
- backend
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
pgdata:
|