# to use this add docker-compose/rce-api.override.yml
# to your COMPOSE_FILE var in .env

version: '2.3'
services:
  web:
    links:
      - canvasrceapi

  canvasrceapi:
    image: instructure/canvas-rce-api
    ports:
      - "3000:80"
    environment:
      VIRTUAL_HOST: rce.canvas.docker
      VIRTUAL_PORT: 8080
      HTTP_PROTOCOL_OVERRIDE: "http"
      PASSENGER_MIN_INSTANCES: 2
      PASSENGER_MAX_POOL_SIZE: 6
      NGINX_WORKER_CONNECTIONS: 2048
      STATSD_HOST: 127.0.0.1
      STATSD_PORT: 8125
      ECOSYSTEM_SECRET: "astringthatisactually32byteslong"
      ECOSYSTEM_KEY: "astringthatisactually32byteslong"
      CIPHER_PASSWORD: TEMP_PASSWORD
    init: true

# to use this add docker-compose/rce-api.override.yml
# to your COMPOSE_FILE var in .env

version: '2.3'
services:
  web:
    links:
      - canvasrceapi

  canvasrceapi:
    image: instructure/canvas-rce-api
    ports:
      - "3000:80"
    environment:
      VIRTUAL_HOST: rce.canvas.docker
      VIRTUAL_PORT: 80
      HTTP_PROTOCOL_OVERRIDE: "http"
      PASSENGER_MIN_INSTANCES: 2
      PASSENGER_MAX_POOL_SIZE: 6
      NGINX_WORKER_CONNECTIONS: 2048
      STATSD_HOST: 127.0.0.1
      STATSD_PORT: 8125
      ECOSYSTEM_SECRET: "astringthatisactually32byteslong"
      ECOSYSTEM_KEY: "astringthatisactually32byteslong"
      CIPHER_PASSWORD: TEMP_PASSWORD
    init: true

Fix RCE docker-compose configuration to work right with Dory
Fix RCE docker-compose configuration to work right with Dory

flag=none

test plan
- none

Change-Id: Ibbc54592f91afc8db49eb40f0f5cd58b8a5001aa
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/276932
Tested-by: Service Cloud Jenkins <9144042a601061f88f1e1d7a1753ea3e2972119d@instructure.com>
Reviewed-by: Weston Dransfield <e9203059795dc94e28a8831c65eb7869e818825e@instructure.com>
QA-Review: Jon Scheiding <9af6aa5061dd5eef0e85122953253a66930fcf3e@instructure.com>
Product-Review: Jon Scheiding <9af6aa5061dd5eef0e85122953253a66930fcf3e@instructure.com>
