Graceful Shutdown (MisskeyIO#156)
--------- Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
This commit is contained in:
parent
eaae8e6bea
commit
daf429eb84
5 changed files with 38 additions and 21 deletions
|
|
@ -86,4 +86,4 @@ ENV MALLOC_CONF=background_thread:true,metadata_thp:auto,dirty_decay_ms:30000,mu
|
|||
ENV NODE_ENV=production
|
||||
HEALTHCHECK --interval=5s --retries=20 CMD ["/bin/bash", "/misskey/healthcheck.sh"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
CMD ["pnpm", "run", "migrateandstart"]
|
||||
CMD ["pnpm", "run", "migrateandstart:docker"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue