adoroszlai commented on a change in pull request #238: HDDS-2588. Consolidate 
compose environments
URL: https://github.com/apache/hadoop-ozone/pull/238#discussion_r354786194
 
 

 ##########
 File path: hadoop-ozone/dist/src/main/compose/ozone/docker-compose.yaml
 ##########
 @@ -34,17 +37,19 @@ services:
     command: ["ozone","datanode"]
   om:
     <<: *common-config
+    env_file:
+      - docker-config
+      - om.conf
     ports:
       - 9874:9874
-    environment:
-      ENSURE_OM_INITIALIZED: /data/metadata/om/current/VERSION
     command: ["ozone","om"]
   scm:
     <<: *common-config
     ports:
       - 9876:9876
-    environment:
-      ENSURE_SCM_INITIALIZED: /data/metadata/scm/current/VERSION
 
 Review comment:
   ae2bc55261fff4950ac6cb82f7dfab1cd8e47034 moves these one-liners back.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to