46 lines
6.2 KiB
Plaintext
46 lines
6.2 KiB
Plaintext
# persistence
|
|
# date: 2026-12-03T16:51:35 commit: cbbe525
|
|
|
|
$ docker compose --env-file .env ps
|
|
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
|
|
mtusi-lab7-api-1 mtusi-messenger:lab7 "python -m app" api 52 minutes ago Up 52 minutes (healthy) 8443/tcp
|
|
mtusi-lab7-api-2 mtusi-messenger:lab7 "python -m app" api 52 minutes ago Up 52 minutes (healthy) 8443/tcp
|
|
mtusi-lab7-broker-1 redis:8.6.8 "docker-entrypoint.s…" broker 17 hours ago Up 16 hours (healthy) 6379/tcp
|
|
mtusi-lab7-grafana-1 grafana/grafana:11.4.0 "/bin/sh -c 'export …" grafana 17 hours ago Up 17 hours 127.0.0.1:3000->3000/tcp
|
|
mtusi-lab7-lb-1 haproxy:3.0.5-alpine "docker-entrypoint.s…" lb 17 hours ago Up 55 seconds (healthy) 127.0.0.1:8443-8445->8443-8445/tcp
|
|
mtusi-lab7-loki-1 grafana/loki:3.3.2 "/usr/bin/loki -conf…" loki 17 hours ago Up 17 hours 3100/tcp
|
|
mtusi-lab7-openbao-1 openbao/openbao:2.6.4 "bao server -config=…" openbao 17 hours ago Up 16 hours (healthy) 8200/tcp
|
|
mtusi-lab7-otel-collector-1 otel/opentelemetry-collector-contrib:0.111.0 "/otelcol-contrib --…" otel-collector 17 hours ago Up 17 hours
|
|
mtusi-lab7-otel-gw-1 haproxy:3.0.5-alpine "docker-entrypoint.s…" otel-gw 17 hours ago Up 17 hours (healthy)
|
|
mtusi-lab7-postgres-1 postgres:16.4-alpine "docker-entrypoint.s…" postgres 17 hours ago Up 16 hours (healthy) 5432/tcp
|
|
mtusi-lab7-prometheus-1 prom/prometheus:v2.55.1 "/bin/prometheus --c…" prometheus 17 hours ago Up 17 hours (healthy) 9090/tcp
|
|
mtusi-lab7-redis-1 redis:8.6.8 "docker-entrypoint.s…" redis 17 hours ago Up 16 hours (healthy) 6379/tcp
|
|
mtusi-lab7-s3-1 pgsty/minio:RELEASE.2026-08-04T00-00-00Z "/usr/bin/docker-ent…" s3 17 hours ago Up 16 hours (healthy) 9000/tcp
|
|
mtusi-lab7-tempo-1 grafana/tempo:2.6.1 "/tempo -config.file…" tempo 17 hours ago Up 16 hours
|
|
mtusi-lab7-worker-1 mtusi-messenger:lab7 "python -m app.worker" worker 52 minutes ago Up 52 minutes (healthy) 8443/tcp
|
|
[exit 0]
|
|
|
|
$ C:\Users\79152\AppData\Local\Python\pythoncore-3.14-64\python.exe tests/resilience.py --mode persistence --action-script C:\Users\79152\Desktop\mtusi2026lab7\scripts\restart.cmd --base-url https://localhost:8443 --ca-file C:\Users\79152\Desktop\mtusi2026lab7\secrets\ca.crt
|
|
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
|
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
|
[exit 0]
|
|
|
|
$ docker compose --env-file .env ps
|
|
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
|
|
mtusi-lab7-api-1 mtusi-messenger:lab7 "python -m app" api 53 minutes ago Up 5 seconds (health: starting) 8443/tcp
|
|
mtusi-lab7-api-2 mtusi-messenger:lab7 "python -m app" api 53 minutes ago Up 5 seconds (health: starting) 8443/tcp
|
|
mtusi-lab7-broker-1 redis:8.6.8 "docker-entrypoint.s…" broker 17 hours ago Up 7 seconds (health: starting) 6379/tcp
|
|
mtusi-lab7-grafana-1 grafana/grafana:11.4.0 "/bin/sh -c 'export …" grafana 17 hours ago Up 17 hours 127.0.0.1:3000->3000/tcp
|
|
mtusi-lab7-lb-1 haproxy:3.0.5-alpine "docker-entrypoint.s…" lb 17 hours ago Up 6 seconds (health: starting) 127.0.0.1:8443-8445->8443-8445/tcp
|
|
mtusi-lab7-loki-1 grafana/loki:3.3.2 "/usr/bin/loki -conf…" loki 17 hours ago Up 17 hours 3100/tcp
|
|
mtusi-lab7-openbao-1 openbao/openbao:2.6.4 "bao server -config=…" openbao 17 hours ago Up 12 seconds (healthy) 8200/tcp
|
|
mtusi-lab7-otel-collector-1 otel/opentelemetry-collector-contrib:0.111.0 "/otelcol-contrib --…" otel-collector 17 hours ago Up 17 hours
|
|
mtusi-lab7-otel-gw-1 haproxy:3.0.5-alpine "docker-entrypoint.s…" otel-gw 17 hours ago Up 17 hours (healthy)
|
|
mtusi-lab7-postgres-1 postgres:16.4-alpine "docker-entrypoint.s…" postgres 17 hours ago Up 7 seconds (health: starting) 5432/tcp
|
|
mtusi-lab7-prometheus-1 prom/prometheus:v2.55.1 "/bin/prometheus --c…" prometheus 17 hours ago Up 17 hours (healthy) 9090/tcp
|
|
mtusi-lab7-redis-1 redis:8.6.8 "docker-entrypoint.s…" redis 17 hours ago Up 8 seconds (healthy) 6379/tcp
|
|
mtusi-lab7-s3-1 pgsty/minio:RELEASE.2026-08-04T00-00-00Z "/usr/bin/docker-ent…" s3 17 hours ago Up 8 seconds (healthy) 9000/tcp
|
|
mtusi-lab7-tempo-1 grafana/tempo:2.6.1 "/tempo -config.file…" tempo 17 hours ago Up 16 hours
|
|
mtusi-lab7-worker-1 mtusi-messenger:lab7 "python -m app.worker" worker 53 minutes ago Up 6 seconds (health: starting) 8443/tcp
|
|
[exit 0]
|