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-06-30 01:23:08 +08:00
|
|
|
image: starlord.inscloudgate.net/jenkins/selenium-chrome:$SELENIUM_VERSION
|
2019-10-24 00:23:57 +08:00
|
|
|
environment:
|
|
|
|
SCREEN_WIDTH: 1680
|
|
|
|
SCREEN_HEIGHT: 1050
|
2020-06-16 20:52:05 +08:00
|
|
|
init: true
|
2019-09-11 23:49:35 +08:00
|
|
|
|
|
|
|
canvasrceapi:
|
2020-12-07 22:46:57 +08:00
|
|
|
image: starlord.inscloudgate.net/jenkins/canvas-rce-api
|
2019-09-11 23:49:35 +08:00
|
|
|
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
|
2020-12-07 22:46:57 +08:00
|
|
|
STATSD_HOST: 127.0.0.1
|
|
|
|
STATSD_PORT: 8125
|
2020-06-16 20:52:05 +08:00
|
|
|
init: true
|