-
Notifications
You must be signed in to change notification settings - Fork 58
/
docker-compose.yml
84 lines (84 loc) · 1.88 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
version: "3.7"
services:
development:
build:
context: '.'
args:
- RUBY_VERSION=2.7
- GEMFILE=Gemfile
volumes:
- ./:/home/app
environment:
- BUNDLE_GEMFILE=Gemfile
ruby_2.3.8_rails_3.2:
build:
context: '.'
args:
- RUBY_VERSION=2.7
- GEMFILE=rails_3.2.gemfile
environment:
- BUNDLE_GEMFILE=gemfiles/rails_3.2.gemfile
volumes:
- ./:/home/app
ruby_2.3.8_rails_4.2:
build:
context: '.'
args:
- RUBY_VERSION=2.7
- GEMFILE=rails_4.2.gemfile
volumes:
- ./:/home/app
environment:
- BUNDLE_GEMFILE=gemfiles/rails_4.2.gemfile
ruby_2.7_rails_5.2:
build:
context: '.'
args:
- RUBY_VERSION=2.7
- GEMFILE=rails_5.2.gemfile
volumes:
- ./:/home/app
environment:
- BUNDLE_GEMFILE=gemfiles/rails_5.2.gemfile
ruby_2.7_rails_6.0:
build:
context: '.'
args:
- RUBY_VERSION=2.7
- GEMFILE=rails_6.0.gemfile
volumes:
- ./:/home/app
environment:
- BUNDLE_GEMFILE=gemfiles/rails_6.0.gemfile
- RUN_GENERATORS=${RUN_GENERATORS-true}
ruby_3_rails_7.0:
build:
context: '.'
args:
- RUBY_VERSION=3
- GEMFILE=rails_7.0.gemfile
volumes:
- ./:/home/app
environment:
- BUNDLE_GEMFILE=gemfiles/rails_6.0.gemfile
- RUN_GENERATORS=${RUN_GENERATORS-true}
ruby_3_rails_master:
build:
context: '.'
args:
- RUBY_VERSION=3
- GEMFILE=rails_master.gemfile
volumes:
- ./:/home/app
environment:
- BUNDLE_GEMFILE=gemfiles/rails_master.gemfile
ruby_latest_rails_master:
build:
context: '.'
args:
- RUBY_VERSION=latest
- GEMFILE=rails_master.gemfile
volumes:
- ./:/home/app
environment:
- BUNDLE_GEMFILE=gemfiles/rails_master.gemfile