Creation nouvelle interface Docker Vehicule et Multimedia

This commit is contained in:
Christian CUNAT-BRULE
2026-09-12 08:58:05 +02:00
parent 97d3cca5cc
commit d170f95c92
16 changed files with 603 additions and 1 deletions
+30
View File
@@ -0,0 +1,30 @@
name: caria
services:
interface:
build:
context: .
dockerfile: ui/Dockerfile
ports:
- "${CARIA_PORT:-8080}:80"
depends_on:
telemetry:
condition: service_healthy
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1/"]
interval: 30s
timeout: 3s
retries: 3
telemetry:
build:
context: .
dockerfile: server/Dockerfile
restart: unless-stopped
read_only: true
cap_drop: [ALL]
security_opt: ["no-new-privileges:true"]
healthcheck:
test: ["CMD", "node", "-e", "fetch('http://127.0.0.1:8080/api/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"]
interval: 15s
timeout: 3s
retries: 3