version: '2.3'
services:
  web:
    command: docker-compose/rdebug-ide.sh
    ports:
      - 1234:1234
    environment:
      - REMOTE_DEBUGGING_ENABLED=1

version: '2.3'
services:
  web:
    command: docker-compose/rdebug-ide.sh
    ports:
      - 1234:1234
    environment:
      - REMOTE_DEBUGGING_ENABLED=1
      - VIRTUAL_PORT=80

Fix rdebug-ide to not confuse dinghy/dory proxy
Fix rdebug-ide to not confuse dinghy/dory proxy

The dinghy_http_proxy will see the port binding to :1234 and assume
that's the port it should be talking to in the container, so we need to
use the VIRTUAL_PORT variable to tell it no, use :80

test plan:
- Make sure your main `docker-compose.override.yml` DOES NOT include a
  `VIRTUAL_PORT` environment variable setting for your web container
- Update your `.env` to include `docker-compose/rdebug-ide.override.yml`
  in your `COMPOSE_FILE` variable
- `docker-compose up` to recreate your containers
- Go to http://canvas.docker
* VERIFY: it works

Change-Id: I395c253a68619dfa861916362d432947b13e4ac2
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/295213
Tested-by: Service Cloud Jenkins <9144042a601061f88f1e1d7a1753ea3e2972119d@instructure.com>
Product-Review: Jon Scheiding <9af6aa5061dd5eef0e85122953253a66930fcf3e@instructure.com>
Reviewed-by: Xander Moffatt <27f70fe194da423604e6e0a63a3de19814736fa9@instructure.com>
QA-Review: Joe Hernandez <2475ff9f2214a383ad29b079daec0de5f5df5945@instructure.com>
