lab3: second tiny fix

This commit is contained in:
yurtaev.va
2026-10-23 19:29:40 +03:00
parent 3a3302c5b4
commit 088961a433
24 changed files with 477 additions and 134 deletions
+7 -2
View File
@@ -47,6 +47,11 @@ services:
postgres:
condition: service_healthy
restart: "no"
deploy:
resources:
limits:
cpus: "0.5"
memory: 256M
api:
build: .
@@ -77,9 +82,9 @@ services:
memory: 256M
lb:
image: nginx:1.27.5-alpine
image: haproxy:3.2.6-alpine
volumes:
- ./infra/nginx.conf:/etc/nginx/nginx.conf:ro
- ./infra/haproxy-compose.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
networks: [front]
ports:
- "127.0.0.1:${APP_PORT:-8080}:8080"