forked from mtusi2026/mtusi2026lab2
16 lines
1.1 KiB
Plaintext
16 lines
1.1 KiB
Plaintext
docker compose ps -a --format "table {{.Service}}\t{{.ID}}\t{{.Status}}"
|
|
SERVICE CONTAINER ID STATUS
|
|
api a172387a0b1b Up About a minute (healthy)
|
|
postgres ba5b3bed8209 Up About a minute (healthy)
|
|
valkey 5b7bf292ad60 Up About a minute (healthy)
|
|
python tests/resilience.py --mode persistence --action-script "scripts/restart.cmd" --base-url "http://127.0.0.1:8080"
|
|
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
|
|
|
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
|
|
|
docker compose ps -a --format "table {{.Service}}\t{{.ID}}\t{{.Status}}"
|
|
SERVICE CONTAINER ID STATUS
|
|
api a172387a0b1b Up 1 second (health: starting)
|
|
postgres ba5b3bed8209 Up 7 seconds (healthy)
|
|
valkey 5b7bf292ad60 Up 7 seconds (healthy)
|
|
api-1 | 2026-10-09 16:00:09,560 INFO messenger.db: Миграции применены: 001_core, 002_sessions
|
|
api-1 | 2026-10-09 16:02:00,061 INFO messenger.db: Миграции: новых нет, схема актуальна
|