forked from instructure/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
97 lines (87 loc) · 2.06 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
postgres:
image: postgres:9.3
redis:
image: redis:2.6
# 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'
consul:
image: gliderlabs/consul-server:0.5
command: -node canvas-consul -bootstrap
environment:
GOMAXPROCS: "2"
# Uncomment the below lines to run selenium tests locally. Don't forget the
# line in the `web` section below too.
#
#selenium:
# build: ./docker-compose/seleniumff
# ports:
# - "5900:5900"
kinesis:
image: instructure/kinesalite
environment:
VIRTUAL_HOST: kinesis.docker
VIRTUAL_PORT: 4567
web:
build: ./docker-compose
command: bundle exec bin/rails s
ports:
- "3000:3000"
volumes:
- ".:/app"
links:
- consul
- postgres
- redis
# - cassandra
# - selenium
- kinesis
environment:
RACK_ENV: development
VIRTUAL_HOST: .canvas.docker
ECOSYSTEM_SECRET: 7hZoK4DZyrH+A7nxLhC=fVeRQq79oCqq]QK92M?LGPh/tKQv]Q
ECOSYSTEM_KEY: +h+oJTJ)(AcfUxGNUy7Pk2zRTwPaTeqA;&MQ3Gx6936VfvHumn
# uncomment if primarily using webpack in development
# USE_WEBPACK: true
jobs:
build: ./docker-compose
command: bundle exec script/delayed_job run
volumes:
- ".:/app"
links:
- postgres
- redis
- kinesis
environment:
RACK_ENV: development
guard:
build: ./docker-compose
command: bundle exec guard -i
ports:
- "4000:4000"
volumes:
- ".:/app"
environment:
RACK_ENV: development
# Uncomment this entry to run qunit tests built from webpack
# js-tests:
# build: ./docker-compose/karma
# volumes:
# - ".:/app"
# environment:
# NODE_ENV: CI
# USE_WEBPACK: true
# 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