-
Notifications
You must be signed in to change notification settings - Fork 11
/
dip.yml
49 lines (39 loc) · 884 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
version: '1'
environment:
DOCKER_RUBY_VERSION: 2.3
RUBY_IMAGE_TAG: 2.3-latest
POSTGRES_IMAGE_TAG: 9.6-0.7.0
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 -rf Gemfile.lock gemfiles/
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