chore(): small infrastructure refactoring, improves and fixes

This commit is contained in:
ITQ
2026-02-16 14:13:05 +03:00
parent 10c0ba01db
commit cb4da51cf7
19 changed files with 111 additions and 42 deletions
+3 -2
View File
@@ -79,7 +79,7 @@ services:
- path: ./infrastructure/configs/backend/.env
required: false
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:1080"]
test: ["CMD", "wget", "-qO-", "http://localhost:80"]
interval: 30s
timeout: 5s
start_period: 5s
@@ -105,7 +105,8 @@ services:
tags:
- lotty-backend:latest
pull: true
command: celery -A config worker -l INFO
entrypoint: ["/bin/sh", "-c"]
command: ["celery -A config worker -l INFO"]
depends_on:
valkey:
restart: false
+4 -4
View File
@@ -10,7 +10,7 @@ services:
required: false
healthcheck:
test: ["CMD", "wget", "-O", "-", "http://localhost:3000/api/health"]
interval: 1m30s
interval: 30s
timeout: 5s
start_period: 5s
start_interval: 2s
@@ -161,7 +161,7 @@ services:
- -httpListenAddr=:8428
healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:8428/-/healthy"]
interval: 1m30s
interval: 30s
timeout: 5s
start_period: 5s
start_interval: 2s
@@ -199,7 +199,7 @@ services:
required: false
healthcheck:
test: ["CMD", "wget", "-O", "-", "http://localhost:9121/metrics"]
interval: 1m30s
interval: 30s
timeout: 5s
start_period: 5s
start_interval: 2s
@@ -225,7 +225,7 @@ services:
required: false
healthcheck:
test: ["CMD", "wget", "-O", "-", "http://localhost:9187/metrics"]
interval: 1m30s
interval: 30s
timeout: 5s
start_period: 5s
start_interval: 2s
+1 -1
View File
@@ -11,7 +11,7 @@ services:
required: false
healthcheck:
test: ["CMD", "sh", "-c", "pg_isready -U postgres -d postgres"]
interval: 1m30s
interval: 30s
timeout: 5s
start_period: 5s
start_interval: 2s