-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
35 lines (31 loc) · 992 Bytes
/
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
web: &WEB
image: scisco/canvas-lms-docker:stable_2016-10-08
# build: .
entrypoint: ./start.sh
env_file:
- './.env'
ports:
- '8000:80'
volumes:
- './start.sh:/var/canvas/start.sh'
- './config/database.yml:/var/canvas/config/database.yml'
- './config/domain.yml:/var/canvas/config/domain.yml'
- './config/security.yml:/var/canvas/config/security.yml'
- './config/canvas.conf:/etc/apache2/sites-enabled/canvas.conf'
web_nossl:
<<: *WEB
volumes:
- './start.sh:/var/canvas/start.sh'
- './config/database.yml:/var/canvas/config/database.yml'
- './config/domain.yml:/var/canvas/config/domain.yml'
- './config/security.yml:/var/canvas/config/security.yml'
- './config/canvas_no_ssl.conf:/etc/apache2/sites-enabled/canvas.conf'
db_initial:
<<: *WEB
entrypoint: bundle exec rake db:initial_setup
reset_encryption_key:
<<: *WEB
entrypoint: bundle exec rake db:reset_encryption_key_hash
bash:
<<: *WEB
entrypoint: /bin/bash