Is there a docker compose service naming convention?
<p>I have an question about the service names in docker-compose.yml files.
Is there any convention for the naming?</p>

<p>I have following example (docker-compose.yml):</p>

<p>This example does not work when I run docker-compose. The log files tell me, that my node app could not find the express module:</p>

<pre><code>nodejs:
  build: ./docker_node_js
  volumes:
    - "./docker_node_js/app:/src/app"
  ports:
    - "3030:3000"
</code></pre>

<p>On the other hand this example just works fine. I only changed the naming:</p>

<pre><code>nodeweb:
  build: ./docker_node_js
  volumes:
    - "./docker_node_js/app:/src/app"
  ports:
    - "3030:3000"
</code></pre>

<p>Is there any naming convention? I searched through the docker-compose.yml reference but could not find anything. Maybe I just missed something in the documentation?</p>

<p>Greets 
Daniel</p>