Complete lab2 grade 4 implementation and report
Application checks / application (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
Daria0w0
2026-10-10 00:28:43 +03:00
parent 83e3810d33
commit c0ca56f208
24 changed files with 1107 additions and 137 deletions
+14
View File
@@ -6,6 +6,7 @@ services:
environment:
SESSION_TTL_SECONDS: ${SESSION_TTL_SECONDS:-3600}
DATABASE_PASSWORD_FILE: /run/secrets/postgres_password
REDIS_ADDR: redis:6379
secrets:
- postgres_password
ports:
@@ -15,8 +16,21 @@ services:
condition: service_healthy
migrate:
condition: service_completed_successfully
redis:
condition: service_started
stop_grace_period: 15s
redis:
image: redis:7.4.11-alpine
command: ["redis-server", "--save", "", "--appendonly", "no", "--maxmemory", "64mb", "--maxmemory-policy", "allkeys-lru"]
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 3s
timeout: 2s
retries: 10
tmpfs:
- /data
migrate:
image: postgres:17.9-bookworm
environment: