Merge branch 'ml'

This commit is contained in:
gitgernit
2025-11-22 15:00:16 +03:00
23 changed files with 1204 additions and 297 deletions
+37 -1
View File
@@ -5,7 +5,7 @@ services:
build:
context: .
dockerfile: Containerfile
target: runtime
target: backend
tags:
- template-project-backend:latest
pull: true
@@ -61,6 +61,40 @@ services:
bind:
selinux: z
ml:
build:
context: .
dockerfile: Containerfile
target: ml
tags:
- template-project-ml:latest
pull: true
healthcheck:
test: [ "CMD", "curl", "-fsS", "http://localhost:8081/healthcheck" ]
interval: 5s
timeout: 4s
start_period: 5s
start_interval: 2s
retries: 5
networks:
- default
ports:
- name: web
target: 8081
published: 13562
host_ip: 127.0.0.1
protocol: tcp
app_protocol: http
restart: unless-stopped
shm_size: 4mb
volumes:
- type: bind
source: ./infrastructure/configs/ml/config.toml
target: /app/config.toml
read_only: true
bind:
selinux: z
tests:
build:
context: .
@@ -185,6 +219,8 @@ services:
- type: volume
source: postgres_data
target: /var/lib/postgresql/data
ports:
- "5432:5432"
pgadmin:
image: docker.io/dpage/pgadmin4:9