-
Notifications
You must be signed in to change notification settings - Fork 7
/
dip.yml
50 lines (40 loc) · 923 Bytes
/
dip.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
version: '1'
environment:
DOCKER_RUBY_VERSION: 2.4
RUBY_IMAGE_TAG: 2.4-latest
POSTGRES_IMAGE_TAG: 9.3-latest
REDIS_IMAGE_TAG: 4-alpine
COMPOSE_FILE_EXT: development
RAILS_ENV: test
APRESS_GEMS_CREDENTIALS: ""
compose:
files:
- docker-compose.yml
- docker-compose.${COMPOSE_FILE_EXT}.yml
interaction:
sh:
service: app
irb:
service: app
command: irb
bundle:
service: app
command: bundle
rake:
service: app
command: bundle exec rake
appraisal:
service: app
command: bundle exec appraisal
rspec:
service: app
command: bundle exec appraisal bundle exec rspec
clean:
service: app
command: rm -f Gemfile.lock gemfiles/*.gemfile.*
provision:
- docker volume create --name bundler_data
- dip bundle config --local https://gems.railsc.ru/ ${APRESS_GEMS_CREDENTIALS}
- dip clean
- dip bundle install
- dip appraisal install