Añadido Dockerfil docker-compose.yml

This commit is contained in:
2026-05-30 21:47:44 -05:00
parent 40986b0359
commit 5a563b214f
101 changed files with 10207 additions and 950 deletions
+23
View File
@@ -0,0 +1,23 @@
services:
# ─── EnFlow Next.js App ──────────────────────────────────────────────────
cirux-app:
build:
context: .
dockerfile: Dockerfile
args:
- NEXT_PUBLIC_SUPABASE_URL=${NEXT_PUBLIC_SUPABASE_URL}
- NEXT_PUBLIC_SUPABASE_ANON_KEY=${NEXT_PUBLIC_SUPABASE_ANON_KEY}
container_name: cirux-app
restart: unless-stopped
env_file:
- .env.local
environment:
- NODE_ENV=production
expose:
- "3000"
healthcheck:
test: ["CMD", "node", "-e", "require('http').get('http://localhost:3000/api/health', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s