Update Jenkinsfile
Some checks failed
Proyectos/simplenote-web/pipeline/head There was a failure building this commit
Some checks failed
Proyectos/simplenote-web/pipeline/head There was a failure building this commit
This commit is contained in:
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user