ЛР 3: балансировка, идемпотентность и failover — на 3
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
Windows build 10.0.19045.0
|
||||
PS> docker version
|
||||
Client:
|
||||
Version: 29.9.3
|
||||
API version: 1.56
|
||||
Go version: go1.26.10
|
||||
Git commit: 5457199
|
||||
Built: Tue Nov 3 21:46:10 2026
|
||||
OS/Arch: windows/amd64
|
||||
Context: desktop-linux
|
||||
|
||||
Server: Docker Desktop 4.99.0 (245822)
|
||||
Engine:
|
||||
Version: 29.9.3
|
||||
API version: 1.56 (minimum version 1.40)
|
||||
Go version: go1.26.10
|
||||
Git commit: 70efc0e
|
||||
Built: Tue Nov 3 21:41:42 2026
|
||||
OS/Arch: linux/amd64
|
||||
Experimental: false
|
||||
containerd:
|
||||
Version: v2.4.2
|
||||
GitCommit: b7a25261e029d68978bbf290df0a62fc819b3c51
|
||||
runc:
|
||||
Version: 1.5.2
|
||||
GitCommit: v1.5.2-0-g29dd3dc2
|
||||
docker-init:
|
||||
Version: 0.19.0
|
||||
GitCommit: de40ad0
|
||||
PS> docker compose version
|
||||
Docker Compose version v5.7.0
|
||||
PS> docker info (Docker Desktop Linux VM)
|
||||
linux x86_64 CPUs=4 MemoryBytes=8242380800
|
||||
PS> docker compose --profile test config --quiet
|
||||
PS> docker compose ps -a
|
||||
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
|
||||
mtusi-lab3-grade3-api1-1 mtusi-lab3-api:grade3 "sh -c 'exec uvicorn…" api1 7 minutes ago Up About a minute (healthy) 8080/tcp
|
||||
mtusi-lab3-grade3-api2-1 mtusi-lab3-api:grade3 "sh -c 'exec uvicorn…" api2 7 minutes ago Up 51 seconds (healthy) 8080/tcp
|
||||
mtusi-lab3-grade3-lb-1 haproxy:3.0.11-alpine "docker-entrypoint.s…" lb 9 minutes ago Up 9 minutes 127.0.0.1:8080->8080/tcp
|
||||
mtusi-lab3-grade3-migrate-1 mtusi-lab3-api:grade3 "python -m src.db" migrate 7 minutes ago Exited (0) 3 minutes ago
|
||||
mtusi-lab3-grade3-postgres-1 postgres:16.8-bookworm "docker-entrypoint.s…" postgres 9 minutes ago Up About a minute (healthy) 5432/tcp
|
||||
PS> docker compose logs --no-color migrate
|
||||
migrate-1 | PASS: versioned migrations applied (already applied versions skipped)
|
||||
migrate-1 | PASS: versioned migrations applied (already applied versions skipped)
|
||||
migrate-1 | PASS: versioned migrations applied (already applied versions skipped)
|
||||
migrate-1 | PASS: versioned migrations applied (already applied versions skipped)
|
||||
migrate-1 | PASS: versioned migrations applied (already applied versions skipped)
|
||||
PS> Applied migration versions
|
||||
001_initial.sql
|
||||
002_message_idempotency.sql
|
||||
PS> API runtime
|
||||
Python 3.12.10
|
||||
PS> HAProxy configuration check
|
||||
PS> Tool versions and both executable hooks
|
||||
Container mtusi-lab3-grade3-tools-run-e0c2ceb3000d Creating
|
||||
Container mtusi-lab3-grade3-tools-run-e0c2ceb3000d Created
|
||||
Python 3.12.15
|
||||
GNU Make 4.4.1
|
||||
Docker Compose version v2.33.0
|
||||
755
|
||||
755
|
||||
PS> Windows loopback readiness
|
||||
PS> Windows loopback public smoke
|
||||
PASS: lab3 public API scenario; infrastructure and grading evidence remain separate.
|
||||
Reference in New Issue
Block a user