chore(): small infrastructure refactoring, improves and fixes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user