Перенести решение лабораторной 1 как основу для лабораторной 2

This commit is contained in:
2026-10-06 11:54:05 +03:00
parent 65003b6119
commit 5c3f2bfad0
54 changed files with 4472 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
services:
api:
build: .
image: mtusi-messenger:lab2
# Fixed name so the Makefile targets and student-tests/lifecycle.sh address
# the same container whether it was started by compose or by docker run.
container_name: mtusi-messenger-lab2
env_file: .env
# Loopback only; override with PUBLISH=127.0.0.1:18080 when 8080 is busy.
ports:
- "${PUBLISH:-127.0.0.1:8080}:8080"
stop_grace_period: 10s