mirror of
https://github.com/laurent22/joplin.git
synced 2026-10-25 02:47:28 +00:00
Server: Automatically restarts the server when it crashes, with exponentiel back-off
This commit is contained in:
1 parent
dbd3db873f
commit
0c8b475736
3 files changed
+762
-37
No files matched your search
+1
-1
@@ -71,7 +71,7 @@ EXPOSE ${APP_PORT}
|
||||
# https://github.com/nodejs/docker-node/blob/main/docs/BestPractices.md#handling-kernel-signals
|
||||
WORKDIR /home/$user/packages/server
|
||||
ENTRYPOINT ["tini", "--"]
|
||||
CMD ["node", "dist/app.js"]
|
||||
CMD ["yarn", "start-prod"]
|
||||
|
||||
# Build-time metadata
|
||||
# https://github.com/opencontainers/image-spec/blob/master/annotations.md
|
||||
|
||||
Reference in new issue
Block a user