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:
parent
2af91bbf0d
commit
76c387cb81
1 changed files with 3 additions and 2 deletions
|
@ -28,9 +28,10 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "curl", "-f", "http://localhost", "||", "kill", "-s", "2", "1" ]
|
test: [ "CMD-SHELL", "curl -f http://localhost || kill -s 2 1" ]
|
||||||
interval: 1h
|
interval: 30m
|
||||||
timeout: 1m
|
timeout: 1m
|
||||||
|
start_period: 5m
|
||||||
volumes:
|
volumes:
|
||||||
bot-db:
|
bot-db:
|
||||||
node_modules:
|
node_modules:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue