How to ssh into the services create using docker-compose : <p>This is my docker compose file</p>

<pre><code>version: '2'

# based off compose-sample-2, only we build nginx.conf into image
# uses sample site from https://startbootstrap.com/template-overviews/agency/

services:
  proxy:
    build:
      context: .
      dockerfile: nginx.Dockerfile
    ports:
      - '80:80'
  web:
    image: httpd
    volumes:
      - ./html:/usr/local/apache2/htdocs/
</code></pre>

<p>Now can I ssh into any of the services which gets creats when I run docker-compose up</p>
