title: docker-compose to Bluemix Failed. “TypeError: string indices must be integers”
body: <p>I am trying to this tutorial. Tutorial: <a href="https://console.ng.bluemix.net/docs/containers/container_single_ui.html#container_compose_intro" rel="nofollow noreferrer">Creating a multi-container deployment with Docker Compose and IBM Bluemix Container Service</a></p>
  
  <p>However, an error occurred and I cannot understand what does it mean. Please tell me what is wrong.</p>
  
  <p>Versions:</p>
  
  <pre><code>OS: macOS Sierra 
  bx version 0.5.3+e1de255-2017-05-17T04:07:46+00:00
  Docker version 17.03.1-ce, build c6d412e
  docker-compose version 1.11.2, build dfed245
  </code></pre>
  
  <p>Environment Variables:</p>
  
  <pre><code>DOCKER_HOST=tcp://containers-api.ng.bluemix.net:8443
  DOCKER_CERT_PATH=/Users/{myname}/.ice/certs/containers-api.ng.bluemix.net/******
  DOCKER_TLS_VERIFY=1
  </code></pre>
  
  <p>docker-compose.yml</p>
  
  <pre><code>lets-chat:
    image: registry.ng.bluemix.net/hiroga/lets-chat
    ports:
     - "8080"
    links:
     - mongo
  mongo:
    image: registry.ng.bluemix.net/hiroga/mongo
    expose:
     - "27017"
  </code></pre>
  
  <p>Error</p>
  
  <pre><code>$ docker-compose --verbose up
  compose.config.config.find: Using configuration files: ./docker-compose.yml
  
  ~~~~~~~~~~
  
  compose.parallel.feed_queue: Pending: set([])
  compose.parallel.parallel_execute_iter: Failed: &lt;Service: lets-chat&gt;
  compose.parallel.feed_queue: Pending: set([])
  
  ERROR: for lets-chat  string indices must be integers
  Traceback (most recent call last):
    File "docker-compose", line 3, in &lt;module&gt;
    File "compose/cli/main.py", line 64, in main
    File "compose/cli/main.py", line 116, in perform_command
    File "compose/cli/main.py", line 876, in up
    File "compose/project.py", line 416, in up
    File "compose/parallel.py", line 66, in parallel_execute
  TypeError: string indices must be integers
  Failed to execute script docker-compose
  </code></pre>
  
  <p>Any solution or hint is welcome. Thank you.</p>