evOo-local/infra/compose/docker-compose.images.yml
cynarAI a55ed44394
One product: evOo updates and name, phone actions, German on mobile, working account deletion, consistent settings (#168)
* Pull updates from evOo instead of the upstream Rakazo repository

The in-app server updater, the image-based compose files and the desktop
auto-updater still pointed at elie222/rakazo, so updating an evOo install
would have pulled Rakazo. They now follow cynarAI/evOo-local, where the
publish workflow already pushes the images. The disabled Rakazo production
deploy job is gone from CI; evo deploys itself.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tgvrj34NMnaqvtgvruYQZZ

* Call the product evOo everywhere people see its name

The desktop setup window and menu, account emails, the iOS app name and
permission prompts, sign-in headings, messages bots post into connected chat
apps, the web fetch user agent, issue templates and the marketing site still
said Rakazo, or EvOo. They now say evOo. The marketing site no longer calls
evOo an alternative to itself.

Internal identifiers (package scopes, env vars, bundle ids, the desktop
productName that keys its data folder and keychain entry) stay as they are.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tgvrj34NMnaqvtgvruYQZZ

* Open conversation actions by holding a row on a phone

Pin, move to folder, mark unread, duplicate, archive and delete only opened
on right-click, which iOS Safari never fires. Holding a conversation or a
folder header now dispatches the same contextmenu event, so the existing menu
opens under the finger; Android's own long-press event is not doubled and the
lift does not also open the conversation.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tgvrj34NMnaqvtgvruYQZZ

* Give small chrome icons a 44px touch area on phones

The browser and computer toggles, the activity bell, the create button and the
section plus buttons were 18 to 36 px targets. On touch screens each now gets
an invisible 44px hit area without changing how it looks; the create button
uses the same plus icon as the rest of the sidebar instead of a text glyph,
and the computer toggle gets an accessible name.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tgvrj34NMnaqvtgvruYQZZ

* Add German to the mobile app

German speakers saw the phone app in English because the mobile UI only
knew English, Simplified Chinese, and Russian. The app now ships a German
catalog covering every mobile chrome string, follows a German device
language (de, de-DE, de-AT, de-CH, ...), and offers Deutsch in the Account
language picker.

Strings that also exist in the web German catalog reuse its wording so
web and phone say the same thing; the rest follow the same terms and the
informal "du".

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tgvrj34NMnaqvtgvruYQZZ

* Use the evOo sign-in strings in the German phone catalog

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tgvrj34NMnaqvtgvruYQZZ

* Make account deletion work and give settings one section style

Deleting an account posted to the auth endpoint without a JSON content
type, so the server refused it and the button did nothing. The privacy
page now deletes through the auth client and returns to sign-in. It also
drops the claims it could not verify, the export button that only showed
an alert, and its own padding, and shows where the data and the computer
live. Notifications and media settings use the same SettingsSection.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tgvrj34NMnaqvtgvruYQZZ

* Use status tokens, the shared switch and one German glossary

Voice stage dots, the onboarding progress bar and the Voice First button
used raw emerald, violet, cyan and rose; they now use foreground, success
and destructive like the rest of the app. The routine editor's hand-built
switch is the shared Switch. German says Unterhaltung for threads and
Space consistently on web and phone.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tgvrj34NMnaqvtgvruYQZZ

* Expect the evOo setup copy in the desktop e2e specs

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tgvrj34NMnaqvtgvruYQZZ

* Translate the voice preview label in the German phone catalog

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tgvrj34NMnaqvtgvruYQZZ

* Wait for the main thread URL without waiting for every resource

openMainBotThread already navigated with domcontentloaded; its URL check
then waited for the full load event, which can exceed 20 s on a busy
runner. The composer check that follows covers readiness.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tgvrj34NMnaqvtgvruYQZZ

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-06 00:38:31 +02:00

249 lines
8.4 KiB
YAML

# Pull-based self-host: published GHCR images + Postgres + local Docker computers.
# Drop this file and .env into any directory, then:
# docker compose --env-file .env -f docker-compose.images.yml up -d
#
# Tag contract matches docs/self-host.md (edge from main; release tags when published).
# Default is edge because that tag is published on every main build (linux/amd64 + linux/arm64).
# Pin a published vX.Y.Z tag for a fixed version; `latest` moves to each new stable release.
# Default SANDBOX_PROVIDER=docker boots a local computer via the in-stack supervisor (no E2B key).
# Optional: set e2b / daytona / box plus the matching API key for remote computers.
name: rakazo
services:
postgres:
# Optional Hub override; unset keeps the digest-pinned official image.
image: ${POSTGRES_IMAGE:-postgres:16@sha256:e17e86066e5ef83e0952a9347f5c792b7ece00972e2aa787a6986f471b3dd3d5}
restart: unless-stopped
security_opt:
- no-new-privileges:true
pids_limit: 200
mem_limit: 2g
environment:
POSTGRES_USER: ${POSTGRES_USER:-rakazo}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?Set POSTGRES_PASSWORD in .env}
POSTGRES_DB: ${POSTGRES_DB:-rakazo}
volumes:
- pgdata:/var/lib/postgresql/data
networks:
- data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-rakazo} -d ${POSTGRES_DB:-rakazo}"]
interval: 5s
timeout: 5s
retries: 20
# Pull-only stub so `compose up` fetches the published desktop image without a checkout.
computer:
image: ${RAKAZO_COMPUTER_IMAGE:-ghcr.io/cynarai/evoo-local/computer}:${RAKAZO_COMPUTER_IMAGE_TAG:-edge}
command: ["true"]
network_mode: none
restart: "no"
data-init:
# Optional Hub override; unset keeps busybox:1.
image: ${BUSYBOX_IMAGE:-busybox:1}
command: ["chown", "-R", "1000:1000", "/data"]
network_mode: none
restart: "no"
volumes:
- appdata:/data
# Runs from the app image. Not published as its own image and not exposed on the host:
# access to the supervisor is equivalent to control of the Docker host.
supervisor:
image: ${RAKAZO_IMAGE:-ghcr.io/cynarai/evoo-local/app}:${RAKAZO_IMAGE_TAG:-edge}
restart: unless-stopped
command: ["pnpm", "--filter", "@rakazo/sandbox-supervisor", "start"]
init: true
user: root
security_opt:
- no-new-privileges:true
pids_limit: 256
mem_limit: 512m
environment:
NODE_ENV: production
DATA_DIR: /data
SUPERVISOR_HOST: "0.0.0.0"
SUPERVISOR_PORT: "7091"
DOCKER_SOCKET: /var/run/docker.sock
RAKAZO_COMPUTER_IMAGE: ${RAKAZO_COMPUTER_IMAGE:-ghcr.io/cynarai/evoo-local/computer}:${RAKAZO_COMPUTER_IMAGE_TAG:-edge}
RAKAZO_COMPUTER_MEMORY: ${RAKAZO_COMPUTER_MEMORY:-2g}
RAKAZO_COMPUTER_CPUS: ${RAKAZO_COMPUTER_CPUS:-2}
RAKAZO_COMPUTER_PIDS_LIMIT: ${RAKAZO_COMPUTER_PIDS_LIMIT:-2048}
SANDBOX_COMMAND_TIMEOUT_MS: ${SANDBOX_COMMAND_TIMEOUT_MS:-300000}
SANDBOX_SUPERVISOR_TOKEN: ${SANDBOX_SUPERVISOR_TOKEN:?Set SANDBOX_SUPERVISOR_TOKEN in .env}
SANDBOX_SCREEN_NETWORK: isolated
LOG_LEVEL: ${LOG_LEVEL:-info}
LOG_FORMAT: ${LOG_FORMAT:-}
AXIOM_TOKEN: ${AXIOM_TOKEN:-}
AXIOM_DATASET: ${AXIOM_DATASET:-}
AXIOM_EDGE: ${AXIOM_EDGE:-}
AXIOM_EDGE_URL: ${AXIOM_EDGE_URL:-}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- appdata:/data
networks:
- app
depends_on:
computer:
condition: service_completed_successfully
data-init:
condition: service_completed_successfully
healthcheck:
test:
- CMD
- node
- -e
- fetch('http://127.0.0.1:7091/health').then(r=>{if(!r.ok)process.exit(1)}).catch(()=>process.exit(1))
interval: 10s
timeout: 5s
retries: 20
api:
image: ${RAKAZO_IMAGE:-ghcr.io/cynarai/evoo-local/app}:${RAKAZO_IMAGE_TAG:-edge}
restart: unless-stopped
command:
- bash
- -lc
- pnpm --filter @rakazo/db exec prisma migrate deploy && pnpm --filter @rakazo/api start
init: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
pids_limit: 256
mem_limit: 1536m
env_file:
- .env
environment:
NODE_ENV: production
API_HOST: "0.0.0.0"
RAKAZO_DESKTOP_STACK_TOKEN: ${RAKAZO_DESKTOP_STACK_TOKEN:-}
BETTER_AUTH_URL: ${BETTER_AUTH_URL:-http://127.0.0.1:5173}
WEB_ORIGIN: ${WEB_ORIGIN:-http://127.0.0.1:5173}
API_URL: ${API_URL:-http://127.0.0.1:5173}
DATABASE_URL: postgres://${POSTGRES_USER:-rakazo}:${POSTGRES_PASSWORD:?Set POSTGRES_PASSWORD in .env}@postgres:5432/${POSTGRES_DB:-rakazo}
DATA_DIR: /data
SANDBOX_PROVIDER: ${SANDBOX_PROVIDER:-docker}
CLOUD_AGENT_PROVIDER: ${CLOUD_AGENT_PROVIDER:-none}
CLOUD_AGENT_SPACE_ID: ${CLOUD_AGENT_SPACE_ID:-}
CURSOR_API_KEY: ${CURSOR_API_KEY:-}
SANDBOX_SUPERVISOR_URL: http://supervisor:7091
WAKEUP_DRIVER: graphile
AGENT_RUNTIME: pi
# Optional egress proxy (Mainland / corporate). Empty = unset; either case works.
HTTP_PROXY: ${HTTP_PROXY:-${http_proxy:-}}
HTTPS_PROXY: ${HTTPS_PROXY:-${https_proxy:-}}
NO_PROXY: ${NO_PROXY:-${no_proxy:-}}
http_proxy: ${http_proxy:-${HTTP_PROXY:-}}
https_proxy: ${https_proxy:-${HTTPS_PROXY:-}}
no_proxy: ${no_proxy:-${NO_PROXY:-}}
ports:
- "127.0.0.1:${RAKAZO_API_PORT:-3100}:3100"
volumes:
- appdata:/data
networks:
- app
- data
depends_on:
postgres:
condition: service_healthy
data-init:
condition: service_completed_successfully
supervisor:
condition: service_healthy
healthcheck:
test:
- CMD
- node
- -e
- fetch('http://127.0.0.1:3100/health').then(r=>{if(!r.ok)process.exit(1)}).catch(()=>process.exit(1))
interval: 10s
timeout: 5s
retries: 20
worker:
image: ${RAKAZO_IMAGE:-ghcr.io/cynarai/evoo-local/app}:${RAKAZO_IMAGE_TAG:-edge}
restart: unless-stopped
command: ["pnpm", "--filter", "@rakazo/worker", "start"]
init: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
pids_limit: 512
mem_limit: 2g
env_file:
- .env
environment:
BETTER_AUTH_SECRET: ""
NODE_ENV: production
DATABASE_URL: postgres://${POSTGRES_USER:-rakazo}:${POSTGRES_PASSWORD:?Set POSTGRES_PASSWORD in .env}@postgres:5432/${POSTGRES_DB:-rakazo}
DATA_DIR: /data
SANDBOX_PROVIDER: ${SANDBOX_PROVIDER:-docker}
CLOUD_AGENT_PROVIDER: ${CLOUD_AGENT_PROVIDER:-none}
CLOUD_AGENT_SPACE_ID: ${CLOUD_AGENT_SPACE_ID:-}
CURSOR_API_KEY: ${CURSOR_API_KEY:-}
SANDBOX_SUPERVISOR_URL: http://supervisor:7091
SCREEN_PROXY_SECRET: ""
WAKEUP_DRIVER: graphile
AGENT_RUNTIME: pi
# Optional egress proxy (Mainland / corporate). Empty = unset; either case works.
HTTP_PROXY: ${HTTP_PROXY:-${http_proxy:-}}
HTTPS_PROXY: ${HTTPS_PROXY:-${https_proxy:-}}
NO_PROXY: ${NO_PROXY:-${no_proxy:-}}
http_proxy: ${http_proxy:-${HTTP_PROXY:-}}
https_proxy: ${https_proxy:-${HTTPS_PROXY:-}}
no_proxy: ${no_proxy:-${NO_PROXY:-}}
volumes:
- appdata:/data
networks:
- app
- data
depends_on:
postgres:
condition: service_healthy
data-init:
condition: service_completed_successfully
supervisor:
condition: service_healthy
api:
condition: service_healthy
web:
image: ${RAKAZO_IMAGE:-ghcr.io/cynarai/evoo-local/app}:${RAKAZO_IMAGE_TAG:-edge}
restart: unless-stopped
command: ["pnpm", "--filter", "@rakazo/web", "preview", "--host", "0.0.0.0", "--port", "5173"]
init: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
pids_limit: 128
mem_limit: 512m
environment:
NODE_ENV: production
API_PROXY_TARGET: http://api:3100
RAKAZO_HOST: ${RAKAZO_HOST:-localhost}
# Set only by the packaged desktop app. Its authenticated probe prevents a
# source dev server on the same host port from impersonating this stack.
RAKAZO_DESKTOP_STACK_TOKEN: ${RAKAZO_DESKTOP_STACK_TOKEN:-}
RAKAZO_IMAGE_TAG: ${RAKAZO_IMAGE_TAG:-edge}
SCREEN_PROXY_SECRET: ${SCREEN_PROXY_SECRET:?Set SCREEN_PROXY_SECRET in .env}
ports:
- "127.0.0.1:${RAKAZO_WEB_PORT:-5173}:5173"
networks:
- app
depends_on:
api:
condition: service_healthy
volumes:
pgdata:
appdata:
networks:
app:
data:
internal: true