preparando el deploy
Some checks failed
deploy-analiticaNucleo / deploy (push) Failing after 2s

This commit is contained in:
2025-10-05 12:13:32 -06:00
parent 053501a16d
commit 2b252d798b
15 changed files with 170 additions and 34 deletions

29
docker-compose.yml Normal file
View File

@@ -0,0 +1,29 @@
version: '3.8'
services:
nuxt-app:
build:
context: .
dockerfile: Dockerfile
container_name: analiticaNucleo-nuxt-app
restart: unless-stopped
environment:
- NODE_ENV=production
- SUPABASE_URL=${SUPABASE_URL}
- SUPABASE_ANON_KEY=${SUPABASE_ANON_KEY}
- NEXT_PUBLIC_SUPABASE_URL=${SUPABASE_URL}
- NEXT_PUBLIC_SUPABASE_ANON_KEY=${SUPABASE_ANON_KEY}
networks:
- principal
labels:
- "traefik.enable=true"
- "traefik.http.routers.analiticaNucleo.rule=Host(`analitica.nucleoriofrio.com`)"
- "traefik.http.routers.analiticaNucleo.entrypoints=websecure"
- "traefik.http.routers.analiticaNucleo.tls=true"
- "traefik.http.routers.analiticaNucleo.tls.certresolver=letsencrypt"
- "traefik.http.services.analiticaNucleo.loadbalancer.server.port=3000"
- "traefik.docker.network=principal"
networks:
principal:
external: true