mongo-express sollte erst nach der MongoDB gestartet werden
[demos/kafka/training] / docker-compose.yml
index 51f7293..0e420b6 100644 (file)
@@ -40,6 +40,8 @@ services:
       ME_CONFIG_MONGODB_ADMINUSERNAME: juplo
       ME_CONFIG_MONGODB_ADMINPASSWORD: training
       ME_CONFIG_MONGODB_URL: mongodb://juplo:training@mongo:27017/
+    depends_on:
+      - mongo
 
   setup:
     image: juplo/toolbox