This commit is contained in:
2026-11-22 17:20:34 +03:00
parent c10bf08feb
commit 7e1780be67
14 changed files with 938 additions and 60 deletions
+5
View File
@@ -31,6 +31,11 @@ S3_SECRET_ACCESS_KEY_FILE=/run/secrets/s3_secret_access_key
MAX_UPLOAD_BYTES=10485760
MAX_IMAGE_PIXELS=40000000
BROKER_URL_FILE=/run/secrets/broker_url
# First boot of RabbitMQ creates this user. BROKER_URL must use the same
# user and password; the app reads the URL from the file above.
RABBITMQ_USER=messenger
RABBITMQ_PASSWORD=change-me-rabbit
BROKER_URL=amqp://messenger:change-me-rabbit@rabbitmq:5672/
WORKER_CONCURRENCY=2
JOB_MAX_ATTEMPTS=5
JOB_TIMEOUT_SECONDS=60