-
Notifications
You must be signed in to change notification settings - Fork 3
/
dip.yml
43 lines (35 loc) · 839 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
version: '2'
environment:
DOCKER_RUBY_VERSION: 3.0
S3_ENDPOINT: http://s3:9000
S3_BUCKET: wallarm-devtmp-ipfeeds-presigned-urls-research
GCS_ENDPOINT: http://gcs:8080/
GCS_BUCKET: some-bucket
compose:
files:
- docker/docker-compose.yml
project_name: cloud_storage
interaction:
sh:
service: app
irb:
service: app
command: bundle exec pry
bundle:
service: app
command: bundle
rspec:
service: app
environment:
command: bundle exec rspec
rubocop:
service: app
command: bundle exec ./rubocop --display-style-guide --extra-details
provision:
- ./docker/prepare_env.sh
- mkdir -p uploads/s3/$S3_BUCKET
- rm -rf uploads/gcs/$GCS_BUCKET
- rm -rf Gemfile.lock
- mkdir -p uploads/gcs/$GCS_BUCKET
- docker volume create --name bundler_data
- dip bundle install