2019-08-22 21:21:41 +08:00
|
|
|
# it is intended that this be used exclusive of all other docker-compose.*yml files in CI
|
2019-09-11 23:49:35 +08:00
|
|
|
version: "2.3"
|
2019-08-22 21:21:41 +08:00
|
|
|
services:
|
2020-05-02 05:04:18 +08:00
|
|
|
canvas:
|
2019-08-22 21:21:41 +08:00
|
|
|
links:
|
|
|
|
- selenium-chrome
|
2019-09-11 23:49:35 +08:00
|
|
|
- canvasrceapi
|
2019-08-22 21:21:41 +08:00
|
|
|
environment:
|
|
|
|
remote_url: http://selenium-chrome:4444/wd/hub
|
|
|
|
browser: chrome
|
2019-09-11 23:49:35 +08:00
|
|
|
RCE_HOST: "http://canvasrceapi"
|
2019-10-24 00:23:57 +08:00
|
|
|
# these are so we can use prod compiled assets in test environment
|
2019-09-11 23:49:35 +08:00
|
|
|
USE_OPTIMIZED_JS: 'true'
|
|
|
|
SASS_STYLE: 'compressed'
|
2019-08-22 21:21:41 +08:00
|
|
|
|
|
|
|
selenium-chrome:
|
2020-05-14 01:33:22 +08:00
|
|
|
image: starlord.inscloudgate.net/jenkins/selenium-chrome:3.141.59-20200409
|
2019-10-24 00:23:57 +08:00
|
|
|
environment:
|
|
|
|
SCREEN_WIDTH: 1680
|
|
|
|
SCREEN_HEIGHT: 1050
|
2019-09-11 23:49:35 +08:00
|
|
|
|
|
|
|
canvasrceapi:
|
|
|
|
image: starlord.inscloudgate.net/jeremyp/canvas-rce-api_web
|
|
|
|
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
|