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