Выполнение работы на 4.

This commit is contained in:
2026-11-13 21:41:50 +03:00
parent ec540a1a72
commit 6308f21ec7
104 changed files with 7310 additions and 13 deletions
+6
View File
@@ -10,11 +10,17 @@ DATABASE_URL_FILE=/run/secrets/database_url
SESSION_STORE=postgres
CACHE_URL_FILE=/run/secrets/cache_url
API_REPLICAS=2
# Host ports; APP_PORT remains the internal API port.
LB_PUBLISHED_PORT=18084
LB_STATS_PORT=18404
IDEMPOTENCY_TTL_SECONDS=86400
S3_ENDPOINT=http://s3:9000
S3_REGION=us-east-1
S3_BUCKET=messenger-attachments
# API credentials only; root credentials are generated separately by scripts/init-secrets.sh.
S3_ACCESS_KEY_ID_FILE=/run/secrets/s3_access_key_id
S3_SECRET_ACCESS_KEY_FILE=/run/secrets/s3_secret_access_key
MAX_UPLOAD_BYTES=10485760
MAX_IMAGE_PIXELS=40000000
UPLOAD_CLEANUP_GRACE_SECONDS=300
UPLOAD_CLEANUP_INTERVAL_SECONDS=30