chore(): infrastructure improvements

This commit is contained in:
ITQ
2026-02-12 14:44:25 +03:00
parent 9181d2980a
commit cb9692089f
19 changed files with 134 additions and 270 deletions
+7 -3
View File
@@ -3,6 +3,7 @@ services:
build:
context: ./src/backend
dockerfile: Containerfile
target: app
tags:
- lotty-backend:latest
pull: true
@@ -40,6 +41,7 @@ services:
build:
context: ./src/backend
dockerfile: Containerfile
target: app
tags:
- lotty-backend:latest
pull: true
@@ -66,7 +68,8 @@ services:
backend-staticfiles:
build:
context: ./src/backend
dockerfile: Containerfile.staticfiles
dockerfile: Containerfile
target: staticfiles
tags:
- lotty-backend-staticfiles:latest
pull: true
@@ -76,8 +79,8 @@ services:
- path: ./infrastructure/configs/backend/.env
required: false
healthcheck:
test: ["CMD-SHELL", "nginx", "-t", "||", "exit 1"]
interval: 1m30s
test: ["CMD", "wget", "-qO-", "http://localhost:1080"]
interval: 30s
timeout: 5s
start_period: 5s
start_interval: 2s
@@ -98,6 +101,7 @@ services:
build:
context: ./src/backend
dockerfile: Containerfile
target: app
tags:
- lotty-backend:latest
pull: true