Compare commits

..

No commits in common. "714b002cf55eecee9cc2cd8a502474675874305d" and "316eca7ede8a5562b52ef1332e7185d4b523b7f0" have entirely different histories.

2 changed files with 1 additions and 5 deletions

View File

@ -25,8 +25,6 @@ x-platform: &platform
# Агент ходит в веб по имени контейнера в общей сети (host.docker.internal на Linux не видит 127.0.0.1 хоста).
PEPPA_AGENT_URL: ${PEPPA_AGENT_URL:-http://peppa-web:3100}
PEPPA_SANDBOX_DOCKER_ARGS: ${PEPPA_SANDBOX_DOCKER_ARGS:---network traefik_default}
# Монитор спрашивает порт веба (PEP-168): в контейнере бота и вачдога 127.0.0.1 — не веб.
PEPPA_WEB_PROBE_URL: http://peppa-web:${PEPPA_WEB_PORT:-3100}/api/health
PEPPA_HOME: ${PEPPA_HOME:?PEPPA_HOME (абсолютный путь на хосте)}
PEPPA_DB: ${PEPPA_HOME}/peppa.db
PEPPA_SERVICE: web

View File

@ -93,9 +93,7 @@ update projects set workspace_path = '$H/workspaces/' || slug;
update projects set gitea_owner = 'peppa-bot' where gitea_owner = 'peppa';
update tasks set pr_url = replace(replace(pr_url, '$OLD/peppa/peppa/', '$NEW/peppa-bot/peppa/'), '$OLD/', '$NEW/') where pr_url like '$OLD/%';
update settings set value = replace(replace(value, '$OLD/peppa/peppa/', '$NEW/peppa-bot/peppa/'), '$OLD/', '$NEW/') where value like '%$OLD/%';
update sessions set claude_session_id = null, workspace_path = null, watch_state = null where status not in ('done', 'failed');
-- Сессия запускается в контейнере, только если у неё записано имя контейнера: старые сессии с Mac шли без него.
update sessions set container = 'peppa-s' || id where container is null and host_id is null;
update sessions set claude_session_id = null, workspace_path = null, container = null, watch_state = null where status not in ('done', 'failed');
delete from settings where key = 'platform.runner' and value = '{\"isolation\":\"none\"}';
delete from settings where key like 'heartbeat:%';
select 'projects', count(*) from projects where deleted_at is null;