forked from mtusi2026/mtusi2026lab4
27 lines
1.6 KiB
Plaintext
27 lines
1.6 KiB
Plaintext
# stand
|
|
# date: 2026-10-29T19:49:28 commit: no-git
|
|
|
|
$ docker compose --env-file .env ps
|
|
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
|
|
mtusi-lab4-api-1 mtusi-messenger:lab4 "python -m app" api 9 seconds ago Up 2 seconds (health: starting) 8080/tcp
|
|
mtusi-lab4-api-2 mtusi-messenger:lab4 "python -m app" api 9 seconds ago Up 2 seconds (health: starting) 8080/tcp
|
|
mtusi-lab4-lb-1 haproxy:3.0.5-alpine "docker-entrypoint.s…" lb 30 minutes ago Up 10 minutes (healthy) 127.0.0.1:8080-8082->8080-8082/tcp
|
|
mtusi-lab4-postgres-1 postgres:16.4-alpine "docker-entrypoint.s…" postgres 31 minutes ago Up 10 minutes (healthy) 5432/tcp
|
|
mtusi-lab4-redis-1 redis:7.4.1-alpine "docker-entrypoint.s…" redis 31 minutes ago Up 10 minutes (healthy) 6379/tcp
|
|
mtusi-lab4-s3-1 pgsty/minio:RELEASE.2026-08-04T00-00-00Z "/usr/bin/docker-ent…" s3 31 minutes ago Up 3 minutes (healthy) 9000/tcp
|
|
[exit 0]
|
|
|
|
$ docker compose --env-file .env config --images
|
|
pgsty/mc:RELEASE.2026-09-16T00-00-00Z
|
|
mtusi-messenger:lab4
|
|
postgres:16.4-alpine
|
|
haproxy:3.0.5-alpine
|
|
redis:7.4.1-alpine
|
|
mtusi-messenger:lab4
|
|
pgsty/minio:RELEASE.2026-08-04T00-00-00Z
|
|
[exit 0]
|
|
|
|
$ docker compose --env-file .env exec -T api python -m app.migrate
|
|
applied: nothing (up to date)
|
|
[exit 0]
|