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