forked from mtusi2026/mtusi2026lab2
выполнение лр2 на 4
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# Fresh volume: migrations from scratch + public smoke
|
||||
# date: 2026-10-07T14:18:43Z
|
||||
$ APP_PORT=18090 docker compose -p lab2-clean up -d --wait
|
||||
Container lab2-clean-api-1 Created
|
||||
Container lab2-clean-api-1 Healthy
|
||||
Container lab2-clean-migrate-1 Created
|
||||
Container lab2-clean-migrate-1 Exited
|
||||
Container lab2-clean-postgres-1 Created
|
||||
Container lab2-clean-postgres-1 Healthy
|
||||
Container lab2-clean-valkey-1 Created
|
||||
Container lab2-clean-valkey-1 Healthy
|
||||
Network lab2-clean_default Created
|
||||
Volume "lab2-clean_pgdata" Created
|
||||
$ docker compose -p lab2-clean logs migrate
|
||||
INFO migrate: applying 0001_init
|
||||
INFO migrate: migrations up to date: 1 applied now, 0 before
|
||||
$ make test BASE_URL=http://localhost:18090
|
||||
PASS: lab2 public API scenario; infrastructure and grading evidence remain separate.
|
||||
$ docker compose -p lab2-clean run --rm migrate # second run
|
||||
INFO migrate: migrations up to date: 0 applied now, 1 before
|
||||
Reference in New Issue
Block a user