potiuk commented on a change in pull request #4938: [AIRFLOW-4117] 
Multi-staging Image - Travis CI tests [Step 3/3]
URL: https://github.com/apache/airflow/pull/4938#discussion_r268896021
 
 

 ##########
 File path: scripts/ci/docker-compose.yml
 ##########
 @@ -18,61 +18,67 @@ version: "2.2"
 services:
   mysql:
     image: mysql:5.6
-    restart: always
+    restart: "no"
     environment:
       - MYSQL_ALLOW_EMPTY_PASSWORD=true
       - MYSQL_ROOT_HOST=%
     volumes:
       - ./mysql/conf.d:/etc/mysql/conf.d
-
   postgres:
     image: postgres:9.6
-    restart: always
+    restart: "no"
     environment:
       - POSTGRES_USER=postgres
       - POSTGRES_PASSWORD=airflow
       - POSTGRES_DB=airflow
-
   mongo:
     image: mongo:3
-    restart: always
+    restart: "no"
 
   cassandra:
     image: cassandra:3.0
-    restart: always
+    restart: "no"
 
   rabbitmq:
     image: rabbitmq:3.7
-    restart: always
+    restart: "no"
 
 Review comment:
   Yep. I think I left it as I wasn't really what will be the final version. I 
think "no" is better now. But that's something to be confirmed by @gerardo 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to