Disabled back restart, added back healthcheck
gitea/salix/master This commit looks good
Details
gitea/salix/master This commit looks good
Details
This commit is contained in:
parent
ad7636b879
commit
9c4f776281
|
@ -34,3 +34,6 @@ COPY \
|
|||
./
|
||||
|
||||
CMD ["pm2-runtime", "./back/process.yml"]
|
||||
|
||||
HEALTHCHECK --interval=1m --timeout=10s \
|
||||
CMD curl -f http://localhost:3000/api/Applications/status || exit 1
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
apps:
|
||||
- script: ./loopback/server/server.js
|
||||
name: salix-back
|
||||
cron_restart: '0 4 * * *'
|
||||
instances: 1
|
||||
max_restarts: 10
|
||||
max_restarts: 5
|
||||
|
|
Loading…
Reference in New Issue