@@ -8,7 +8,10 @@ services:
dockerfile: ./bot/Dockerfile
args:
OPENCV_VERSION: 3.4
- restart: on-failure
+ restart_policy:
+ condition: any
+ delay: 5s
+ window: 120s
depends_on:
- db
env_file:
@@ -32,7 +35,10 @@ services:
build:
context: ./
dockerfile: ./web/Dockerfile