1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-24 22:46:41 +07:00

#5 fixed healthcheck period

This commit is contained in:
Fedor Katurov 2021-05-12 16:45:44 +07:00
parent 2af91bbf0d
commit 76c387cb81

View file

@ -28,9 +28,10 @@ services:
depends_on:
- db
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost", "||", "kill", "-s", "2", "1" ]
interval: 1h
test: [ "CMD-SHELL", "curl -f http://localhost || kill -s 2 1" ]
interval: 30m
timeout: 1m
start_period: 5m
volumes:
bot-db:
node_modules: