сhore(): infrastructure improvements

This commit is contained in:
ITQ
2026-02-22 11:09:43 +03:00
parent 738353d1dc
commit 4b69bb3af0
3 changed files with 37 additions and 1 deletions
+32
View File
@@ -129,6 +129,38 @@ services:
restart: unless-stopped
shm_size: 4mb
backend-celery-beat:
build:
context: ./src/backend
dockerfile: Containerfile
target: app
tags:
- lotty-backend:latest
pull: true
entrypoint: ["/bin/sh", "-c"]
command: ["celery -A config beat -l INFO"]
depends_on:
valkey:
restart: false
condition: service_healthy
required: true
env_file:
- path: ./infrastructure/configs/backend/.env.template
required: true
- path: ./infrastructure/configs/backend/.env
required: false
healthcheck:
test: ["CMD", "celery", "-A", "config", "inspect", "ping"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
start_interval: 2s
networks:
- default
restart: unless-stopped
shm_size: 4mb
celery-exporter:
image: docker.io/danihodovic/celery-exporter:latest
command: