mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-25 06:56:40 +07:00
#5 added healthcheck
This commit is contained in:
parent
46d24cd9dd
commit
dd3c281af9
6 changed files with 37 additions and 4 deletions
|
@ -27,6 +27,10 @@ services:
|
|||
entrypoint: ./wait-for-it.sh -t 90 db:5432 -- node ./index.js
|
||||
depends_on:
|
||||
- db
|
||||
healthcheck:
|
||||
test: [ "CMD", "curl", "-f", "http://localhost", "||", "kill", "-s", "2", "1" ]
|
||||
interval: 5m
|
||||
timeout: 1m
|
||||
volumes:
|
||||
bot-db:
|
||||
node_modules:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue