update healthcheck.js for changing ssl cert / hostname / port

This commit is contained in:
LouisLam
2021-09-07 16:06:28 +08:00
parent fb0fa2a843
commit ec8c1cad31
3 changed files with 22 additions and 10 deletions

View File

@@ -19,7 +19,7 @@ RUN npm install --legacy-peer-deps && npm run build && npm prune
EXPOSE 3001
VOLUME ["/app/data"]
HEALTHCHECK --interval=60s --timeout=30s --start-period=300s CMD node extra/healthcheck.js
HEALTHCHECK --interval=600s --timeout=130s --start-period=300s CMD node extra/healthcheck.js
CMD ["node", "server/server.js"]
FROM release AS nightly