no se que modificaciones se hizo posible error

This commit is contained in:
unknown
2026-06-13 12:04:04 -04:00
parent ff90340fdb
commit fa05ae3754
24 changed files with 2466 additions and 402 deletions

View File

@@ -3,6 +3,7 @@ services:
build:
context: ./backend
dockerfile: Dockerfile
image: donmarco-backend:1.2.0
container_name: donmarco-api
restart: unless-stopped
environment:
@@ -15,6 +16,18 @@ services:
- "4000:4000"
networks:
- donmarco_net
healthcheck:
test:
[
"CMD",
"node",
"-e",
"fetch('http://127.0.0.1:4000/api/health').then(r=>r.json()).then(d=>process.exit(d.version==='1.2.0'?0:1)).catch(()=>process.exit(1))",
]
interval: 15s
timeout: 10s
retries: 5
start_period: 20s
frontend:
build:
@@ -22,12 +35,15 @@ services:
dockerfile: Dockerfile
args:
VITE_API_URL: /api
APP_VERSION: "1.2.0"
image: donmarco-frontend:1.2.0
container_name: donmarco-web
restart: unless-stopped
ports:
- "80:80"
depends_on:
- backend
backend:
condition: service_healthy
networks:
- donmarco_net