Update Jenkinsfile
Some checks failed
Proyectos/simplenote-web/pipeline/head There was a failure building this commit

This commit is contained in:
2026-03-28 11:19:43 +00:00
parent a5a1563f6e
commit ff6170bfa2

20
Jenkinsfile vendored
View File

@@ -76,18 +76,24 @@ services:
- "traefik.enable=true"
- "traefik.http.services.${NAME_SERVICE}.loadbalancer.server.port=3000"
- "traefik.http.routers.${NAME_SERVICE}.entrypoints=web"
- "traefik.http.routers.${NAME_SERVICE}.rule=Host(recall.vodorod.cl)"
- "traefik.http.routers.${NAME_SERVICE}.rule=Host(simplenote.danielarroyo.cl)"
environment:
- TZ=America/Santiago
- ADMIN_TOKEN=${ADMIN_TOKEN}
- NODE_ENV=production
- PORT=3000
- ADMIN_TOKEN=${SIMPLENOTE_ADMIN_TOKEN}
- DATA_ROOT=/app/data
- CORS_ORIGIN=*
- CORS_ORIGIN=${SIMPLENOTE_CORS_ORIGIN:-*}
volumes:
- ./data:/app/data
- simplenote-data:/app/data
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:3000/health"]
interval: 30s
timeout: 10s
retries: 3
networks:
- homelab-net
mem_limit: 512m
mem_reservation: 256m
mem_limit: 128m
mem_reservation: 64m
restart: unless-stopped
networks:
homelab-net: