canvas-lms/docker-compose.new-jenkins-...

36 lines
1.0 KiB
YAML

# it is intended that this be used exclusive of all other docker-compose.*yml files in CI
version: "2.3"
services:
canvas:
links:
- selenium-chrome
- canvasrceapi
environment:
remote_url: http://selenium-chrome:4444/wd/hub
browser: chrome
RCE_HOST: "http://canvasrceapi"
# these are so we can use prod compiled assets in test environment
USE_OPTIMIZED_JS: 'true'
SASS_STYLE: 'compressed'
selenium-chrome:
image: starlord.inscloudgate.net/jenkins/selenium-chrome:$SELENIUM_VERSION
environment:
SCREEN_WIDTH: 1680
SCREEN_HEIGHT: 1050
init: true
canvasrceapi:
image: starlord.inscloudgate.net/jenkins/canvas-rce-api
environment:
ECOSYSTEM_KEY: "astringthatisactually32byteslong"
ECOSYSTEM_SECRET: "astringthatisactually32byteslong"
HTTP_PROTOCOL_OVERRIDE: "http"
NODE_ENV: production
PASSENGER_MIN_INSTANCES: 2
PASSENGER_MAX_POOL_SIZE: 6
NGINX_WORKER_CONNECTIONS: 2048
STATSD_HOST: 127.0.0.1
STATSD_PORT: 8125
init: true