ЛР 3 — БПИ2301 — Каменски — на 5 #23

Closed
kmwk10 wants to merge 30 commits from kmwk10/mtusi2026lab3:solution/BPI2301-kamenski into main
3 changed files with 6 additions and 3 deletions
Showing only changes of commit 3f639bd7e6 - Show all commits
+2 -1
View File
@@ -8,7 +8,7 @@ LOG_LEVEL=INFO
DATABASE_URL_FILE=/run/secrets/database_url
# Session store: postgres | redis (redis requires CACHE_URL_FILE)
SESSION_STORE=postgres
SESSION_STORE=redis
CACHE_URL_FILE=/run/secrets/cache_url
API_REPLICAS=2
@@ -16,3 +16,4 @@ IDEMPOTENCY_TTL_SECONDS=86400
API_CPUS=0.5
API_MEM=256M
LB_CPUS=0.5
+1 -1
View File
@@ -79,7 +79,7 @@ services:
deploy:
resources:
limits:
cpus: "0.5"
cpus: ${LB_CPUS:-0.5}
memory: 128M
depends_on:
api:
+3 -1
View File
@@ -1,4 +1,6 @@
events {}
events {
worker_connections 4096;
}
http {
resolver 127.0.0.11 valid=2s ipv6=off;