2014-12-10 06:46:27 +08:00
|
|
|
postgres:
|
|
|
|
image: postgres:9.3
|
|
|
|
|
|
|
|
redis:
|
|
|
|
image: redis:2.6
|
|
|
|
|
2016-01-08 06:47:21 +08:00
|
|
|
# To add cassandra
|
|
|
|
# - Uncomment this configuration
|
|
|
|
# - Uncomment cassandra line in 'web' below
|
|
|
|
# - Uncomment configuration in config/cassandra.yml
|
|
|
|
# - See config/cassandra.yml.example for further setup instructions
|
|
|
|
# cassandra:
|
|
|
|
# image: cassandra:2.2
|
|
|
|
# environment:
|
|
|
|
# CASSANDRA_START_RPC: 'true'
|
|
|
|
|
2015-11-06 05:22:30 +08:00
|
|
|
consul:
|
2016-04-20 03:34:19 +08:00
|
|
|
image: gliderlabs/consul-server:0.6
|
2016-02-06 00:03:21 +08:00
|
|
|
command: -node canvas-consul -bootstrap
|
2016-02-05 04:27:49 +08:00
|
|
|
environment:
|
|
|
|
GOMAXPROCS: "2"
|
2015-11-06 05:22:30 +08:00
|
|
|
|
2016-06-22 00:43:38 +08:00
|
|
|
selenium:
|
|
|
|
build: ./docker-compose/seleniumff
|
|
|
|
ports:
|
|
|
|
- 5900:5900
|
|
|
|
environment:
|
|
|
|
VIRTUAL_HOST: selenium.docker
|
2014-12-10 06:46:27 +08:00
|
|
|
|
2015-03-14 04:07:54 +08:00
|
|
|
kinesis:
|
2016-02-05 03:59:15 +08:00
|
|
|
image: instructure/kinesalite
|
2015-03-14 04:07:54 +08:00
|
|
|
environment:
|
|
|
|
VIRTUAL_HOST: kinesis.docker
|
|
|
|
VIRTUAL_PORT: 4567
|
|
|
|
|
2016-02-19 23:56:55 +08:00
|
|
|
web: &WEB
|
2014-12-10 06:46:27 +08:00
|
|
|
build: ./docker-compose
|
|
|
|
volumes:
|
2016-02-19 23:56:55 +08:00
|
|
|
- "canvas-gems:/home/docker/.gem/ruby/2.1.0"
|
|
|
|
- ".:/usr/src/app"
|
2014-12-10 06:46:27 +08:00
|
|
|
links:
|
2015-11-06 05:22:30 +08:00
|
|
|
- consul
|
2014-12-10 06:46:27 +08:00
|
|
|
- postgres
|
|
|
|
- redis
|
2016-01-08 06:47:21 +08:00
|
|
|
# - cassandra
|
2015-03-14 04:07:54 +08:00
|
|
|
- kinesis
|
2016-05-12 00:59:27 +08:00
|
|
|
- mailcatcher
|
2014-12-10 06:46:27 +08:00
|
|
|
environment:
|
|
|
|
RACK_ENV: development
|
2015-04-23 23:00:44 +08:00
|
|
|
VIRTUAL_HOST: .canvas.docker
|
2014-12-10 06:46:27 +08:00
|
|
|
|
|
|
|
jobs:
|
2016-02-19 23:56:55 +08:00
|
|
|
<<: *WEB
|
2014-12-10 06:46:27 +08:00
|
|
|
command: bundle exec script/delayed_job run
|
|
|
|
|
|
|
|
guard:
|
2016-02-19 23:56:55 +08:00
|
|
|
<<: *WEB
|
2015-08-05 05:17:14 +08:00
|
|
|
command: bundle exec guard -i
|
2015-10-01 11:16:11 +08:00
|
|
|
|
2016-05-12 00:59:27 +08:00
|
|
|
mailcatcher:
|
|
|
|
image: instructure/mailcatcher
|
|
|
|
environment:
|
|
|
|
VIRTUAL_HOST: mail.canvas.docker
|
|
|
|
VIRTUAL_PORT: 8080
|
|
|
|
|
2015-10-01 11:16:11 +08:00
|
|
|
# Uncomment this entry to run qunit tests built from webpack
|
2015-12-04 05:43:16 +08:00
|
|
|
# js-tests:
|
2015-11-06 05:22:30 +08:00
|
|
|
# build: ./docker-compose/karma
|
|
|
|
# volumes:
|
|
|
|
# - ".:/app"
|
|
|
|
# environment:
|
|
|
|
# NODE_ENV: CI
|
2016-02-17 04:33:41 +08:00
|
|
|
|
2016-03-02 08:09:15 +08:00
|
|
|
# Uncomment this entry to run qunit tests Headlessly
|
|
|
|
#phantomjs-tests:
|
|
|
|
# build: ./docker-compose/phantomjs-karma
|
|
|
|
# volumes:
|
|
|
|
# - ".:/app"
|
|
|
|
# environment:
|
|
|
|
# NODE_ENV: CI
|
|
|
|
# VIRTUAL_HOST: phantom.docker
|
|
|
|
|
2016-02-17 04:33:41 +08:00
|
|
|
# Uncomment below to run the LTI test tool for integration tests
|
|
|
|
# lti-test-tool:
|
|
|
|
# image: instructure/lti_tool_provider_example
|
|
|
|
# command: bundle exec rails s -p 8080
|
|
|
|
# ports:
|
|
|
|
# - "8080:8080"
|
|
|
|
# environment:
|
|
|
|
# VIRTUAL_HOST: lti.docker
|