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.enable=true"
|
||||||
- "traefik.http.services.${NAME_SERVICE}.loadbalancer.server.port=3000"
|
- "traefik.http.services.${NAME_SERVICE}.loadbalancer.server.port=3000"
|
||||||
- "traefik.http.routers.${NAME_SERVICE}.entrypoints=web"
|
- "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:
|
environment:
|
||||||
- TZ=America/Santiago
|
- NODE_ENV=production
|
||||||
- ADMIN_TOKEN=${ADMIN_TOKEN}
|
- PORT=3000
|
||||||
|
- ADMIN_TOKEN=${SIMPLENOTE_ADMIN_TOKEN}
|
||||||
- DATA_ROOT=/app/data
|
- DATA_ROOT=/app/data
|
||||||
- CORS_ORIGIN=*
|
- CORS_ORIGIN=${SIMPLENOTE_CORS_ORIGIN:-*}
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/app/data
|
- simplenote-data:/app/data
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "wget", "-qO-", "http://localhost:3000/health"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
networks:
|
networks:
|
||||||
- homelab-net
|
- homelab-net
|
||||||
mem_limit: 512m
|
mem_limit: 128m
|
||||||
mem_reservation: 256m
|
mem_reservation: 64m
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
homelab-net:
|
homelab-net:
|
||||||
|
|||||||
Reference in New Issue
Block a user