Browse Source

Rever restart constraints

ghorsington 4 years ago
parent
commit
994a96add6
1 changed files with 2 additions and 10 deletions
  1. 2 10
      docker-compose.yml

+ 2 - 10
docker-compose.yml

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